共用方式為


ClientWebSocketOptions.KeepAliveInterval 屬性

定義

取得或設定 WebSocket 通訊協定保持連接間隔。

public:
 property TimeSpan KeepAliveInterval { TimeSpan get(); void set(TimeSpan value); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public TimeSpan KeepAliveInterval { get; set; }
public TimeSpan KeepAliveInterval { get; set; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.KeepAliveInterval : TimeSpan with get, set
member this.KeepAliveInterval : TimeSpan with get, set
Public Property KeepAliveInterval As TimeSpan

屬性值

WebSocket 通訊協定保持運作間隔。

屬性

適用於