Module

x/fresh/server.ts>MiddlewareHandler

The next-gen web framework.
Extremely Popular
Latest
type alias MiddlewareHandler
import { type MiddlewareHandler } from "https://dotland.deno.dev/x/fresh@1.7.3/server.ts";

Type Parameters

optional
State = Record<string, unknown>
definition: (req: Request, ctx: FreshContext<State>) => Response | Promise<Response>