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)

property bool IsWebSocketRequest {
	bool 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