Click or drag to resize

WebSocketContext Properties

The WebSocketContext type exposes the following members.

Properties
  NameDescription
Public propertyCookieCollection
Gets the HTTP cookies included in the handshake request.
Public propertyHeaders
Gets the HTTP headers included in the handshake request.
Public propertyHost
Gets the value of the Host header included in the handshake request.
Public propertyIsAuthenticated
Gets a value indicating whether the client is authenticated.
Public propertyIsLocal
Gets a value indicating whether the handshake request is sent from the local computer.
Public propertyIsSecureConnection
Gets a value indicating whether a secure connection is used to send the handshake request.
Public propertyIsWebSocketRequest
Gets a value indicating whether the request is a WebSocket handshake request.
Public propertyOrigin
Gets the value of the Origin header included in the handshake request.
Public propertyQueryString
Gets the query string included in the handshake request.
Public propertyRequestUri
Gets the URI requested by the client.
Public propertySecWebSocketKey
Gets the value of the Sec-WebSocket-Key header included in the handshake request.
Public propertySecWebSocketProtocols
Gets the names of the subprotocols from the Sec-WebSocket-Protocol header included in the handshake request.
Public propertySecWebSocketVersion
Gets the value of the Sec-WebSocket-Version header included in the handshake request.
Public propertyServerEndPoint
Gets the endpoint to which the handshake request is sent.
Public propertyUser
Gets the client information.
Public propertyUserEndPoint
Gets the endpoint from which the handshake request is sent.
Public propertyWebSocket
Gets the WebSocket instance used for two-way communication between the client and server.
Top
See Also