import { Router } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.2/router.ts?p=prototype.head&s=Router";
Register named middleware for the specified routes when the HEAD
,
method is requested.
Type Parameters
R extends string[src]
optional
P extends RouteParams<R> = RouteParams<R>[src]Register middleware for the specified routes when the HEAD
,
method is requested.
Type Parameters
R extends string[src]
optional
P extends RouteParams<R> = RouteParams<R>[src]Register middleware for the specified routes when the HEAD
,
method is requested with explicit path parameters.
Type Parameters
P extends RouteParams<string>[src]
Parameters
nameOrPath: string[src]
pathOrMiddleware: string | RouterMiddleware<string, P, S>[src]
...middleware: RouterMiddleware<string, P, S>[][src]