HttpListenerRequest.IsWebSocketRequest Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

Public ReadOnly Property IsWebSocketRequest As Boolean

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