buildContext(): WebSocketConnectionContext
Builds the context handed to onOpen from the upgrade request.
request: Request
The upgrade request
The connection context
buildContext(): WebSocketConnectionContext
Builds the context handed to onOpen from the upgrade request.
request: Request
The upgrade request
The connection context
import { buildContext } from "websocket-plugin/src/index.ts";