Module

x/hono/helper/websocket/index.ts>WSContext

Fast, Lightweight, Web-standards
Very Popular
Go to Latest
type alias WSContext
import { type WSContext } from "https://dotland.deno.dev/x/hono@v4.2.2/helper/websocket/index.ts";
definition: { raw?: unknown; binaryType: BinaryType; readyState: WSReadyState; url: URL | null; protocol: string | null; send(source: string | ArrayBuffer | Uint8Array, options?: { compress: boolean; }): void; close(code?: number, reason?: string): void; }