Click or drag to resize

WebSocket Properties

The WebSocket type exposes the following members.

Properties
  NameDescription
Public propertyCompression
Gets or sets the compression method used to compress a message.
Public propertyCookies
Gets the HTTP cookies included in the handshake request/response.
Public propertyCredentials
Gets the credentials for the HTTP authentication (Basic/Digest).
Public propertyEmitOnPing
Gets or sets a value indicating whether a OnMessage event is emitted when a ping is received.
Public propertyEnableRedirection
Gets or sets a value indicating whether the URL redirection for the handshake request is allowed.
Public propertyExtensions
Gets the extensions selected by server.
Public propertyIsAlive
Gets a value indicating whether the connection is alive.
Public propertyIsSecure
Gets a value indicating whether a secure connection is used.
Public propertyLog
Gets the logging function.
Public propertyOrigin
Gets or sets the value of the HTTP Origin header to send with the handshake request.
Public propertyProtocol
Gets the name of subprotocol selected by the server.
Public propertyReadyState
Gets the current state of the connection.
Public propertySslConfiguration
Gets the configuration for secure connection.
Public propertyUrl
Gets the URL to which to connect.
Public propertyWaitTime
Gets or sets the time to wait for the response to the ping or close.
Top
See Also