Skip to main content
Module

x/keywork/mod.ts>RouterUtils.RequestRouterOptions

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
interface RouterUtils.RequestRouterOptions
Re-export
import { type RouterUtils } from "https://deno.land/x/keywork@v6.2.0/mod.ts";
const { RequestRouterOptions } = RouterUtils;

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