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

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

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
type alias WSContext
import { type WSContext } from "https://deno.land/x/hono@v4.1.3/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; }