import { Router } from "https://deno.land/x/oak@v17.0.0/router.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>[]