Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MatchHandler

import type { MatchHandler } from "https://crux.land/api/get/2KNRVU.ts";

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

type MatchHandler = (req: Request, match: Record<string, string>) => Response | Promise<Response>;

§Type

§
(req: Request, match: Record<string, string>) => Response | Promise<Response>
[src]