import { type rutt } from "https://dotland.deno.dev/x/fresh@1.1.5/src/server/deps.ts";
const { InternalRoute } = rutt;
The internal route object contains either a {@link RegExp} pattern or URLPattern which is matched against the incoming request URL. If a match is found for both the pattern and method the associated MatchHandler is called.
definition: { pattern: RegExp | URLPattern; methods: Record<string, MatchHandler<T>>; }