The context associated with serve middleware requests on a router.
new
RouteContext(context: RouterContext<R, P, S>)
When matching the route, an array of the capturing groups from the regular expression.
If the matched route has a name
, the matched route name is provided
here.
readonly
routerPath: string | undefined
Overrides the matched path for future route middleware, when a
routerPath
option is not defined on the Router
options.
[Symbol.for("Deno.customInspect")](inspect: (value: unknown) => string): string