HttpListenerWebSocketContext Properties
The HttpListenerWebSocketContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
CookieCollection |
Gets the HTTP cookies included in the request.
|
|
Headers |
Gets the HTTP headers included in the request.
|
|
Host |
Gets the value of the Host header included in the request.
|
|
IsAuthenticated |
Gets a value indicating whether the client is authenticated.
|
|
IsLocal |
Gets a value indicating whether the client connected from the local computer.
|
|
IsSecureConnection |
Gets a value indicating whether the WebSocket connection is secured.
|
|
IsWebSocketRequest |
Gets a value indicating whether the request is a WebSocket connection request.
|
|
Origin |
Gets the value of the Origin header included in the request.
|
|
QueryString |
Gets the query string included in the request.
|
|
RequestUri |
Gets the URI requested by the client.
|
|
SecWebSocketKey |
Gets the value of the Sec-WebSocket-Key header included in the request.
|
|
SecWebSocketProtocols |
Gets the values of the Sec-WebSocket-Protocol header included in the request.
|
|
SecWebSocketVersion |
Gets the value of the Sec-WebSocket-Version header included in the request.
|
|
ServerEndPoint |
Gets the server endpoint as an IP address and a port number.
|
|
User |
Gets the client information (identity, authentication, and security roles).
|
|
UserEndPoint |
Gets the client endpoint as an IP address and a port number.
|
|
WebSocket |
Gets the WebSocket instance used for two-way communication
between client and server.
|