Summary

A WebSocket client for connecting to external services.

Properties

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.

Methods

AddSubProtocol
Connect
Dispose Cleans up resources used by the WebSocket client. This will also immediately close the connection if it is currently open.
Send
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.