Beta
An active WebSocket client.
Readonly
Contains a set of events related to this WebSocket client.
Set to true if the socket is current connected to the server.
Closes the connection with the server.
no-restricted-execution - This function can't be called in restricted-execution mode.
This function can throw errors.
WebSocketNotConnectedError
The payload that will be included in the network packet.
Sends the provided payload to the server.
RequestBodyTooLargeError
An active WebSocket client.