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

x/keywork/router/interfaces/RequestRouterOptions.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/RequestRouterOptions.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