import { createRoute } from "https://deno.land/x/composium@v0.1.2/mod.ts";
A curried function which takes HTTP Method
s, a URLPatternInput
and
Middleware
s and returns in the end a composed route function.
createRoute("GET")({ pathname: "*" })(middleware)
Parameters
...methods: Method[]