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 协议保持连接间隔。

属性

适用于