共用方式為


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)

屬性值

適用於