method WebSocket.send Private WebSocket.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 data: string | ArrayBufferLike | Blob | ArrayBufferView Return Type void