Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/keywork/router/interfaces/mod.ts>RequestRouterOptions

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
interface RequestRouterOptions
import { type RequestRouterOptions } from "https://deno.land/x/keywork@v6.2.1/router/interfaces/mod.ts";

Options to configure the Worker Router.

Properties

optional
displayName: string

A display name used for debugging and log messages.

optional
middleware: Array<MiddlewareDeclarationLike>

Middleware to apply to the router during construction. Middleware can also be applied via RequestRouter#use.

optional
react: ReactRendererOptions