WebSocketContext Class |
Namespace: Sfs2X.WebSocketSharp.Net.WebSockets
public abstract class WebSocketContext
The WebSocketContext type exposes the following members.
Name | Description | |
---|---|---|
CookieCollection |
Gets the HTTP cookies included in the handshake request.
| |
Headers |
Gets the HTTP headers included in the handshake request.
| |
Host |
Gets the value of the Host header included in the handshake request.
| |
IsAuthenticated |
Gets a value indicating whether the client is authenticated.
| |
IsLocal |
Gets a value indicating whether the handshake request is sent from
the local computer.
| |
IsSecureConnection |
Gets a value indicating whether a secure connection is used to send
the handshake request.
| |
IsWebSocketRequest |
Gets a value indicating whether the request is a WebSocket handshake
request.
| |
Origin |
Gets the value of the Origin header included in the handshake request.
| |
QueryString |
Gets the query string included in the handshake request.
| |
RequestUri |
Gets the URI requested by the client.
| |
SecWebSocketKey |
Gets the value of the Sec-WebSocket-Key header included in
the handshake request.
| |
SecWebSocketProtocols |
Gets the names of the subprotocols from the Sec-WebSocket-Protocol
header included in the handshake request.
| |
SecWebSocketVersion |
Gets the value of the Sec-WebSocket-Version header included in
the handshake request.
| |
ServerEndPoint |
Gets the endpoint to which the handshake request is sent.
| |
User |
Gets the client information.
| |
UserEndPoint |
Gets the endpoint from which the handshake request is sent.
| |
WebSocket |
Gets the WebSocket instance used for two-way communication between
the client and server.
|