WebSocket::DefaultKeepAliveInterval Property

.NET Framework (current version)
 

Gets the default WebSocket protocol keep-alive interval in milliseconds.

Namespace:   System.Net.WebSockets
Assembly:  System (in System.dll)

public:
property TimeSpan DefaultKeepAliveInterval {
	static TimeSpan get();
}

Property Value

Type: System::TimeSpan

Returns TimeSpan.

The default WebSocket protocol keep-alive interval in milliseconds. The typical value for this interval is 30 seconds.

.NET Framework
Available since 4.5
Return to top
Show: