Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/hono@v4.1.5/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; }