Skip to main content

send

method WebSocket.send
Jump to headingWebSocket.send(data:
string
| ArrayBufferLike
| Blob
| ArrayBufferView
): void

Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.

Parameters Jump to heading

Jump to headingdata:
string
| ArrayBufferLike
| Blob
| ArrayBufferView

Return Type Jump to heading

void
Back to top