WebSocketOptions.KeepAliveInterval 属性

定义

获取或设置发送 Ping/Pong keep-alive 控制帧的频率。 默认值为 2 分钟。

public:
 property TimeSpan KeepAliveInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan KeepAliveInterval { get; set; }
member this.KeepAliveInterval : TimeSpan with get, set
Public Property KeepAliveInterval As TimeSpan

属性值

适用于