Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/keywork/router/mod.ts>KeyworkRouter#all

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

Defines a handler for incoming all HTTP requests.

This will always be a higher priority than an explicitly defined method handler. If you're creating a router as middleware, KeyworkRouter#all can be especially useful for intercepting incoming requests.

Type Parameters

optional
ExpectedParams = { }
optional
Data = { }

Parameters

...args: Parameters<RouteMethodDeclaration<BoundAliases, ExpectedParams, Data>>