type alias WsRouteMatch
Since 0.1.0

The outcome of matching an upgrade request against the table.

Definition

{ readonly matched: true; readonly route: WsRoute; readonly protocol?: string; }
| { readonly matched: false; readonly status: number; }

Usage

import { type WsRouteMatch } from "websocket-plugin/src/index.ts";