IsWebSocketRequest Property

HttpListenerRequest.IsWebSocketRequest Property

.NET Framework (current version)

Gets a Boolean value that indicates whether the TCP connection was a WebSocket request.

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

member IsWebSocketRequest : bool with get

Property Value

Type: System.Boolean

Returns Boolean.

true if the TCP connection is a WebSocket request; otherwise, false.

.NET Framework
Available since 4.5
Return to top
© 2016 Microsoft