Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Web Framework built on Web Standards
Very Popular
Go to Latest
type alias WSContext
import { type WSContext } from "https://deno.land/x/hono@v4.3.9/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; }