import { Router } from "https://deno.land/x/oak@v12.1.0/mod.ts";
Register named middleware for the specified routes when the DELETE
,
method is requested.
Register middleware for the specified routes when the DELETE
,
method is requested.
Register middleware for the specified routes when the DELETE
,
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>[]