WebSocketOptions.KeepAliveInterval Property

Definition

Gets or sets the frequency at which to send Ping/Pong keep-alive control frames. The default is two minutes.

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

Property Value

TimeSpan

Applies to