Object form of middleware, for implementations that carry state.
handle(ctx: IRequestContext,next: NextFunction): void | HandlerResult | Promise<void | HandlerResult>
Handles the request.
Object form of middleware, for implementations that carry state.
handle(ctx: IRequestContext,next: NextFunction): void | HandlerResult | Promise<void | HandlerResult>
Handles the request.
import { type IMiddleware } from "common/src/index.ts";