WebSocket.send

Sends a binary message.

On the JavaScript side, the text will be available as message.data (type Blob).

Throws

A WebSocketException is thrown if the connection gets closed before or during the transfer of the message.

Meta