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