EnableCompression | Enable or disable compression for the websocket. If the server supports it, compression will be enabled for all messages. Note: compression is disabled by default, and can be dangerous if you are sending secrets across the network. |
IsConnected | Returns true as long as a WebSocket connection is established. |
SubProtocol | Get the sub-protocol that was negotiated during the opening handshake. |
AddSubProtocol | |
Connect | |
Dispose | Cleans up resources used by the WebSocket client. This will also immediately close the connection if it is currently open. |
Send |