Properties
Optional
etag
etag?: null | boolean | "strong" | "weak" | ((body: string | Buffer, encoding?: BufferEncoding) => undefined | string)
Optional
https.cert
https.cert?: string
Optional
https.key
https.key?: string
json.escape
json.escape: boolean
Optional
json.spaces
json.spaces?: number
jsonp.callback
jsonp.callback: string
query.parser
query.parser: boolean | "extended" | "simple" | ((str: string) => Record<string, unknown>)
routing.allow-unsafe-regex
routing.allow-unsafe-regex: boolean
routing.case-sensitive
routing.case-sensitive: boolean
routing.ignore-trailing-slash
routing.ignore-trailing-slash: boolean
routing.max-param-length
routing.max-param-length: number
subdomain.offset
subdomain.offset: number
trust.proxy
trust.proxy: string | number | boolean | ((ip: string, hopIndex: number) => boolean)
x-powered-by
x-powered-by: boolean