共用方式為


WebSocketOptions.KeepAliveInterval 屬性

定義

取得或設定傳送 Ping/Pong keep-alive 控制畫面的頻率。 預設為兩分鐘。

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

屬性值

適用於