Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/imports/deno-websocket.ts>WebSocketClient

Work-in-progress front-end tool which does put a smile on my face
Latest
interface WebSocketClient
implements EventEmitter
import { type WebSocketClient } from "https://deno.land/x/gauntlet@v0.0.9/imports/deno-websocket.ts";

Properties

isClosed: boolean | undefined

Methods

send(message: string | Uint8Array): void
ping(message?: string | Uint8Array): void
close(code: number, reason?: string): Promise<void>
closeForce(): void