x/oak/router.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
method Router.prototype.param
import { Router } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.3/router.ts?p=prototype.param&s=Router";

Register param middleware, which will be called when the particular param is parsed from the route.

Type Parameters

R extends string[src]
optional
S extends State = RS
[src]