import * as acorn from "https://deno.land/x/acorn@0.0.4/router.ts";
Classes
A router which is specifically geared for handling RESTful type of requests and providing a straight forward API to respond to them. | |
Interfaces
The interface for route handlers, which are provided via a context
argument. The route handler is expected to return a
| |
Options that can be specified when adding a route to the router. | |
An interface of route options which also includes the handler, intended to make it easy to provide a single object to register a route. | |
Type Aliases
The type alias to help infer what the route parameters are for a route based on the route string. | |
Valid return values from a route handler. |