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.4.1/src/server/types.ts";

Type Parameters

optional
State = Record<string, unknown>

Properties

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