import * as rutt from "https://email@example.com/mod.ts";
The default error handler for the router. By default it responds with
The default other handler for the router. By default it responds with
The default unknown method handler for the router. By default it responds
A simple and tiny router for deno
A handler type for anytime the
A handler for HTTP requests. Consumes a request and HandlerContext and returns an optionally async response.
An array of internal route objects which the routes record is mapped into. This array is used internally in the router function and can even be passed directly to it if you do not wish to use the routes record or want more fine grained control over matches, for example by using a RegExp pattern instead of a URLPattern.
A handler type for a router path match which gets passed the matched values
A record of route paths and MatchHandlers which are called when a match is found along with it's values.
A handler type for anytime a method is received that is not defined