HttpListenerWebSocketContext Properties |
The HttpListenerWebSocketContext type exposes the following members.
Name | Description | |
---|---|---|
CookieCollection |
Gets the HTTP cookies included in the handshake request.
(Overrides WebSocketContextCookieCollection.) | |
Headers |
Gets the HTTP headers included in the handshake request.
(Overrides WebSocketContextHeaders.) | |
Host |
Gets the value of the Host header included in the handshake request.
(Overrides WebSocketContextHost.) | |
IsAuthenticated |
Gets a value indicating whether the client is authenticated.
(Overrides WebSocketContextIsAuthenticated.) | |
IsLocal |
Gets a value indicating whether the handshake request is sent from
the local computer.
(Overrides WebSocketContextIsLocal.) | |
IsSecureConnection |
Gets a value indicating whether a secure connection is used to send
the handshake request.
(Overrides WebSocketContextIsSecureConnection.) | |
IsWebSocketRequest |
Gets a value indicating whether the request is a WebSocket handshake
request.
(Overrides WebSocketContextIsWebSocketRequest.) | |
Origin |
Gets the value of the Origin header included in the handshake request.
(Overrides WebSocketContextOrigin.) | |
QueryString |
Gets the query string included in the handshake request.
(Overrides WebSocketContextQueryString.) | |
RequestUri |
Gets the URI requested by the client.
(Overrides WebSocketContextRequestUri.) | |
SecWebSocketKey |
Gets the value of the Sec-WebSocket-Key header included in
the handshake request.
(Overrides WebSocketContextSecWebSocketKey.) | |
SecWebSocketProtocols |
Gets the names of the subprotocols from the Sec-WebSocket-Protocol
header included in the handshake request.
(Overrides WebSocketContextSecWebSocketProtocols.) | |
SecWebSocketVersion |
Gets the value of the Sec-WebSocket-Version header included in
the handshake request.
(Overrides WebSocketContextSecWebSocketVersion.) | |
ServerEndPoint |
Gets the endpoint to which the handshake request is sent.
(Overrides WebSocketContextServerEndPoint.) | |
User |
Gets the client information.
(Overrides WebSocketContextUser.) | |
UserEndPoint |
Gets the endpoint from which the handshake request is sent.
(Overrides WebSocketContextUserEndPoint.) | |
WebSocket |
Gets the WebSocket instance used for two-way communication between
the client and server.
(Overrides WebSocketContextWebSocket.) |