The members of System.Net.WebSockets.WebSocketContext are listed below.
See Also: Inherited members from System.Object
Creates an instance of the System.Net.WebSockets.WebSocketContext class. |
[read-only] abstract | CookieCollection | System.Net.CookieCollection.
The cookies that were passed to the server during the opening handshake. |
[read-only] abstract | Headers | System.Collections.Specialized.NameValueCollection.
The HTTP headers that were sent to the server during the opening handshake. |
[read-only] abstract | IsAuthenticated | bool.
Whether the WebSocket client is authenticated. |
[read-only] abstract | IsLocal | bool.
Whether the WebSocket client connected from the local machine. |
[read-only] abstract | IsSecureConnection | bool.
Whether the WebSocket connection is secured using Secure Sockets Layer (SSL). |
[read-only] abstract | Origin | string.
The value of the Origin HTTP header included in the opening handshake. |
[read-only] abstract | RequestUri | Uri.
The URI requested by the WebSocket client. |
[read-only] abstract | SecWebSocketKey | string.
The value of the SecWebSocketKey HTTP header included in the opening handshake. |
[read-only] abstract | SecWebSocketProtocols | IEnumerable<string>.
The value of the SecWebSocketKey HTTP header included in the opening handshake. |
[read-only] abstract | SecWebSocketVersion | string.
The list of subprotocols requested by the WebSocket client. |
[read-only] abstract | User | System.Security.Principal.IPrincipal.
An object used to obtain identity, authentication information, and security roles for the WebSocket client. |
[read-only] abstract | WebSocket | WebSocket.
The WebSocket instance used to interact (send/receive/close/etc) with the WebSocket connection. |