Click or drag to resize

HttpListenerWebSocketContext Properties

The HttpListenerWebSocketContext type exposes the following members.

Properties
  NameDescription
Public propertyCookieCollection
Gets the HTTP cookies included in the handshake request.
(Overrides WebSocketContextCookieCollection.)
Public propertyHeaders
Gets the HTTP headers included in the handshake request.
(Overrides WebSocketContextHeaders.)
Public propertyHost
Gets the value of the Host header included in the handshake request.
(Overrides WebSocketContextHost.)
Public propertyIsAuthenticated
Gets a value indicating whether the client is authenticated.
(Overrides WebSocketContextIsAuthenticated.)
Public propertyIsLocal
Gets a value indicating whether the handshake request is sent from the local computer.
(Overrides WebSocketContextIsLocal.)
Public propertyIsSecureConnection
Gets a value indicating whether a secure connection is used to send the handshake request.
(Overrides WebSocketContextIsSecureConnection.)
Public propertyIsWebSocketRequest
Gets a value indicating whether the request is a WebSocket handshake request.
(Overrides WebSocketContextIsWebSocketRequest.)
Public propertyOrigin
Gets the value of the Origin header included in the handshake request.
(Overrides WebSocketContextOrigin.)
Public propertyQueryString
Gets the query string included in the handshake request.
(Overrides WebSocketContextQueryString.)
Public propertyRequestUri
Gets the URI requested by the client.
(Overrides WebSocketContextRequestUri.)
Public propertySecWebSocketKey
Gets the value of the Sec-WebSocket-Key header included in the handshake request.
(Overrides WebSocketContextSecWebSocketKey.)
Public propertySecWebSocketProtocols
Gets the names of the subprotocols from the Sec-WebSocket-Protocol header included in the handshake request.
(Overrides WebSocketContextSecWebSocketProtocols.)
Public propertySecWebSocketVersion
Gets the value of the Sec-WebSocket-Version header included in the handshake request.
(Overrides WebSocketContextSecWebSocketVersion.)
Public propertyServerEndPoint
Gets the endpoint to which the handshake request is sent.
(Overrides WebSocketContextServerEndPoint.)
Public propertyUser
Gets the client information.
(Overrides WebSocketContextUser.)
Public propertyUserEndPoint
Gets the endpoint from which the handshake request is sent.
(Overrides WebSocketContextUserEndPoint.)
Public propertyWebSocket
Gets the WebSocket instance used for two-way communication between the client and server.
(Overrides WebSocketContextWebSocket.)
Top
See Also