Bewerken

Delen via


WebSocket.DefaultKeepAliveInterval Property

Definition

Gets the default WebSocket protocol keep-alive interval.

public:
 static property TimeSpan DefaultKeepAliveInterval { TimeSpan get(); };
public static TimeSpan DefaultKeepAliveInterval { get; }
static member DefaultKeepAliveInterval : TimeSpan
Public Shared ReadOnly Property DefaultKeepAliveInterval As TimeSpan

Property Value

The default WebSocket protocol keep-alive interval. The typical value for this interval is 30 seconds (as defined by the OS or the .NET platform). It is used to initialize KeepAliveInterval value.

Applies to