Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/server.ts>MiddlewareHandlerContext

The next-gen web framework.
Extremely Popular
Go to Latest
interface MiddlewareHandlerContext
implements ServeHandlerInfo
import { type MiddlewareHandlerContext } from "https://deno.land/x/fresh@1.5.1/server.ts";

Type Parameters

optional
State = Record<string, unknown>

Properties

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