C-DEngine 5.105

HttpListenerWebSocketContext Properties

The HttpListenerWebSocketContext type exposes the following members.

Properties


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