WebSocket.DefaultKeepAliveInterval Property

.NET Framework 4.6 and 4.5

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

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

public static TimeSpan DefaultKeepAliveInterval { 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

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft