Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.3/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>