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>UpgradeWebSocket

Web Framework built on Web Standards
Extremely Popular
Latest
type alias UpgradeWebSocket
import { type UpgradeWebSocket } from "https://deno.land/x/hono@v4.3.11/helper/websocket/index.ts";

Upgrade WebSocket Type

definition: (createEvents: (c: Context) => WSEvents | Promise<WSEvents>) => MiddlewareHandler<any, string, { outputFormat: "ws"; }>