Share via


WebSocketAcceptContext.KeepAliveInterval Property

Definition

The interval to send keep-alive frames. This is a heart-beat that keeps the connection alive.

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

Property Value

Remarks

May be either a Ping or a Pong frame, depending on if KeepAliveTimeout is set.

Applies to