ExtendedWebSocketAcceptContext.KeepAliveInterval 属性

定义

发送 pong 帧的间隔。 这是一个心跳,使连接保持活动状态。

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

属性值

适用于