IWebSocketTransport.send(data: string | Uint8Array): void
Sends a frame to the peer. A string is sent as a text frame, a
Uint8Array as a binary frame.
data: string | Uint8Array
The frame payload
IWebSocketTransport.send(data: string | Uint8Array): void
Sends a frame to the peer. A string is sent as a text frame, a
Uint8Array as a binary frame.
data: string | Uint8Array
The frame payload
import { type IWebSocketTransport } from "common/src/index.ts";