Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/superdeno/test/deps.ts>Oak.Router#param

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
method Oak.Router.prototype.param
import { Oak } from "https://deno.land/x/superdeno@4.8.0/test/deps.ts";
const { Router } = Oak;

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

Type Parameters

R extends string
optional
S extends State = RS