method WebSocket.sendWebSocket.send(data: string | ArrayBufferLike | Blob | ArrayBufferView): voidDeprecatedTransmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView. Parametersdata: string | ArrayBufferLike | Blob | ArrayBufferViewReturn Typevoid