import { Router } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/mod.ts?p=prototype.post&s=Router";
Register named middleware for the specified routes when the POST
,
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 POST
,
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 POST
,
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]