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

x/fresh/src/server/router.ts>MatchHandler

The next-gen web framework.
Extremely Popular
Go to Latest
type alias MatchHandler
import { type MatchHandler } from "https://deno.land/x/fresh@1.5.1/src/server/router.ts";

Type Parameters

optional
T = unknown
definition: (
req: Request,
ctx: HandlerContext<T>,
match: Record<string, string>,
) => Response | Promise<Response>