Hierarchy

  • Settings

Properties

env: string
https: boolean
https.cert?: string
https.key?: string
json.escape: boolean
json.spaces?: number
jsonp.callback: string
port: number
routing.allow-unsafe-regex: boolean
routing.case-sensitive: boolean
routing.ignore-trailing-slash: boolean
routing.max-param-length: number
subdomain.offset: number
url: string
workers: number
x-powered-by: boolean

Methods

  • Parameters

    • body: string | Buffer
    • Optional encoding: BufferEncoding

    Returns undefined | string

  • Parameters

    • str: string

    Returns Record<string, unknown>

  • Parameters

    • ip: string
    • hopIndex: number

    Returns boolean

Generated using TypeDoc