C-DEngine 5.105

WebSocket Properties

The WebSocket type exposes the following members.

Properties


  Name Description
Public property Compression
Gets or sets the compression method used to compress a message on the WebSocket connection.
Public property Cookies
Gets the HTTP cookies included in the WebSocket connection request and response.
Public property Credentials
Gets the credentials for the HTTP authentication (Basic/Digest).
Public property EmitOnPing
Gets or sets a value indicating whether the WebSocket emits a OnMessage event when receives a ping.
Public property EnableRedirection
Gets or sets a value indicating whether the WebSocket redirects the connection request to the new URL located in the connection response.
Public property Extensions
Gets the WebSocket extensions selected by the server.
Public property IsAlive
Gets a value indicating whether the WebSocket connection is alive.
Public property IsSecure
Gets a value indicating whether the WebSocket connection is secure.
Public property Log
Gets the logging functions.
Public property Origin
Gets or sets the value of the HTTP Origin header to send with the WebSocket connection request to the server.
Public property Protocol
Gets the WebSocket subprotocol selected by the server.
Public property ReadyState
Gets the state of the WebSocket connection.
Public property SslConfiguration
Gets or sets the SSL configuration used to authenticate the server and optionally the client for secure connection.
Public property Url
Gets the WebSocket URL used to connect, or accepted.
Public property WaitTime
Gets or sets the wait time for the response to the Ping or Close.