import { Router } from "https://dotland.deno.dev/x/oak@v17.1.2/router.ts";
Register named middleware for the specified routes when the HEAD
,
method is requested.
Register middleware for the specified routes when the HEAD
,
method is requested.
Register middleware for the specified routes when the HEAD
,
method is requested with explicit path parameters.
Type Parameters
P extends RouteParams<string>
optional
S extends State = RSParameters
pathOrMiddleware: string | RouterMiddleware<string, P, S>
...middleware: RouterMiddleware<string, P, S>[]