IsWebSocketRequest Property

HttpListenerRequest.IsWebSocketRequest Property

.NET Framework 4.6 and 4.5

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

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

public bool IsWebSocketRequest { 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
© 2015 Microsoft