Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface MiddlewareHandlerContext
implements ServeHandlerInfo
import { type MiddlewareHandlerContext } from "https://deno.land/x/fresh@1.5.4/src/server/mod.ts";

Type Parameters

optional
State = Record<string, unknown>

Properties

next: () => Promise<Response>
state: State
destination: router.DestinationKind
params: Record<string, string>