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

Type Parameters

optional
State = Record<string, unknown>

Properties

next: () => Promise<Response>
state: State
destination: router.DestinationKind