class websockets.StandardWebSocketClient
implements WebSocketClient
extends GenericEventEmitter<DefaultClientEventTypes<any>>
import { websockets } from "https://deno.land/x/gustwind@v0.31.0/server-deps.ts";
const { StandardWebSocketClient } = websockets;
Properties
optional
webSocket: WebSocketMethods
close(code?, reason?: string): Promise<void>
closeForce(): void
ping(message?: string | Uint8Array)
send(message: string | Uint8Array)