Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpContext::IsWebSocketRequest Property

.NET Framework (current version)
 

Gets a value that indicates whether the request is an AspNetWebSocket request.

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

public:
property bool IsWebSocketRequest {
	bool get();
}

Property Value

Type: System::Boolean

true if the request is an AspNetWebSocket request; otherwise, false.

This method returns true if the request contains the initial AspNetWebSocket handshake and the WebSocket module of IIS is active.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft