x/oak/router.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
import * as mod from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/router.ts";

Classes

An interface for registering middleware that will run when certain HTTP methods and paths are requested, as well as provides a way to parameterize parts of the requested path.

Interfaces

The context passed router middleware.

Middleware that will be called by the router when handling a specific parameter, which the middleware will be called when a request matches the route parameter.