method WsSocketLike.send WsSocketLike.send(data: string | Uint8Array): void Sends a text or binary frame. Parameters data: string | Uint8Array The frame payload Return Type void