RequestRouterOptions
Overview
Usage
- Node
- Deno
import { RequestRouterOptions } from 'keywork/router/interfaces'
import { RequestRouterOptions } from 'https://deno.land/x/keywork/router/interfaces'
Properties
debug
optional debug: [`RequestRouterDebugOptions`](../router/interfaces/RequestRouterDebugOptions.mdx)
Defined in
router/interfaces/RequestRouterOptions.ts:85
displayName
optional displayName: `string`
A display name used for debugging and log messages.
Default Value
'Keywork Router'
Defined in
router/interfaces/RequestRouterOptions.ts:77
middleware
optional middleware: `MiddlewareDeclarationLike`[]
Middleware to apply to the router during construction.
Middleware can also be applied via RequestRouter#use
.
Defined in
router/interfaces/RequestRouterOptions.ts:82
react
optional react: [`ReactRendererOptions`](../react/interfaces/ReactRendererOptions.mdx)
Defined in
router/interfaces/RequestRouterOptions.ts:84
Options to configure the Worker Router.