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