Add an event listener for one of the handler types.
The handler being assigned.
The event listener to add.
Close the WebSocket connection.
Opens a WebSocket connection to the URL with the given protocols.
URL to connect to
Protocols to send when establishing the connection
whether the URL is signed
Destroys internal reference to the WebSocket.
Returns the ready state.
The state of the WebSocketConnection
Remove an event listener for one of the handler types.
The handler being assigned.
The event listener to add.
Sends a raw byte message.
Whether the data was queued for sending
Generated using TypeDoc
Adapter for WebSocket implementations