tezx
Version:
TezX is a high-performance, lightweight JavaScript framework designed for speed, scalability, and flexibility. It enables efficient routing, middleware management, and static file serving with minimal configuration. Fully compatible with Node.js, Deno, an
8 lines (7 loc) • 309 B
TypeScript
import { Context } from "../index.js";
import { WebSocketEvent, WebSocketOptions } from "./index.js";
export declare class NodeTransport {
private wss?;
upgrade(ctx: Context, event: WebSocketEvent, options: WebSocketOptions): Promise<(ctx: Context, server: any) => void>;
private setupHandlers;
}