WebSocketOptions.KeepAliveTimeout Property

Definition

The time to wait for a Pong frame response after sending a Ping frame. If the time is exceeded the websocket will be aborted.

public TimeSpan KeepAliveTimeout { get; set; }
member this.KeepAliveTimeout : TimeSpan with get, set
Public Property KeepAliveTimeout As TimeSpan

Property Value

Exceptions

Remarks

Default value is InfiniteTimeSpan. InfiniteTimeSpan and Zero will disable the timeout.

Applies to