WebSocketContext Properties

.NET Framework (current version)
 

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

NameDescription
System_CAPS_pubpropertyCookieCollection

The cookies that were passed to the server during the opening handshake.

System_CAPS_pubpropertyHeaders

The HTTP headers that were sent to the server during the opening handshake.

System_CAPS_pubpropertyIsAuthenticated

Whether the WebSocket client is authenticated.

System_CAPS_pubpropertyIsLocal

Whether the WebSocket client connected from the local machine.

System_CAPS_pubpropertyIsSecureConnection

Whether the WebSocket connection is secured using Secure Sockets Layer (SSL).

System_CAPS_pubpropertyOrigin

The value of the Origin HTTP header included in the opening handshake.

System_CAPS_pubpropertyRequestUri

The URI requested by the WebSocket client.

System_CAPS_pubpropertySecWebSocketKey

The value of the SecWebSocketKey HTTP header included in the opening handshake.

System_CAPS_pubpropertySecWebSocketProtocols

The value of the SecWebSocketKey HTTP header included in the opening handshake.

System_CAPS_pubpropertySecWebSocketVersion

The list of subprotocols requested by the WebSocket client.

System_CAPS_pubpropertyUser

An object used to obtain identity, authentication information, and security roles for the WebSocket client.

System_CAPS_pubpropertyWebSocket

The WebSocket instance used to interact (send/receive/close/etc) with the WebSocket connection.

Return to top
Show: