Export (0) Print
Expand All

WebSocketContext Properties

.NET Framework 4.5

The WebSocketContext type exposes the following members.

  Name Description
Public property CookieCollection The cookies that were passed to the server during the opening handshake.
Public property Headers The HTTP headers that were sent to the server during the opening handshake.
Public property IsAuthenticated Whether the WebSocket client is authenticated.
Public property IsLocal Whether the WebSocket client connected from the local machine.
Public property IsSecureConnection Whether the WebSocket connection is secured using Secure Sockets Layer (SSL).
Public property Origin The value of the Origin HTTP header included in the opening handshake.
Public property RequestUri The URI requested by the WebSocket client.
Public property SecWebSocketKey The value of the SecWebSocketKey HTTP header included in the opening handshake.
Public property SecWebSocketProtocols The value of the SecWebSocketKey HTTP header included in the opening handshake.
Public property SecWebSocketVersion The list of subprotocols requested by the WebSocket client.
Public property User An object used to obtain identity, authentication information, and security roles for the WebSocket client.
Public property WebSocket The WebSocket instance used to interact (send/receive/close/etc) with the WebSocket connection.
Top
Show:
© 2014 Microsoft