type alias Middleware

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

Definition

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

Usage

import { type Middleware } from "lib/servers/http.ts";