Skip to main content
Module

x/fresh/src/server/deps.ts>rutt.MatchHandler

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

A handler type for a router path match which gets passed the matched values

Type Parameters

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