Skip to main content
Module

x/keywork/mod.ts>Router.KeyworkRouter#readMethodRoutes

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
method Router.KeyworkRouter.prototype.readMethodRoutes
import { Router } from "https://deno.land/x/keywork@v6.0.1/mod.ts";
const { KeyworkRouter } = Router;

Returns a collection of route handlers for the given HTTP method.

Parameters

normalizedMethodVerb: RouterMethod

Returns

ParsedRoute<BoundAliases>[]