Class representing a WebSocket connection.
The type of node.
Constructor for the Connection class.
The node instance.
The WebSocket URL.
The connection options.
Readonly
Optional
Getter for the backoff property.
Setter for the backoff property.
Closes the WebSocket connection.
The close code.
The close data.
Connects to the WebSocket server.
Class representing a WebSocket connection.