Classes

c
HTTPServer()

Minimal HTTP + WebSocket server used to serve test bundles and push reload events.

Interfaces

Type Aliases

T
Middleware = (
req: http.IncomingMessage,
res: http.ServerResponse,
next: () => void
) => void

Middleware function signature — call next() to continue the chain.

T
RouteHandler = (
req: http.IncomingMessage,
res: http.ServerResponse
) => void | Promise<void>

Route handler function signature for registered GET/POST/etc. routes.

Variables

v
MIME_TYPES: Record<string, string>

Map of file extensions to their corresponding MIME type strings.