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