Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

headersTimeout

headersTimeout: number

Limit the amount of time the parser will wait to receive the complete HTTP headers.

default

60000 https://nodejs.org/api/http.html#http_server_headerstimeout

keepAliveTimeout

keepAliveTimeout: number

maxHeadersCount

maxHeadersCount: number | null

Limits maximum incoming headers count. If set to 0, no limit will be applied.

default

2000 https://nodejs.org/api/http.html#http_server_maxheaderscount

requestTimeout

requestTimeout: number

Sets the timeout value in milliseconds for receiving the entire request from the client.

default

0 https://nodejs.org/api/http.html#http_server_requesttimeout

timeout

timeout: number

Methods

setTimeout

  • setTimeout(msecs?: number, callback?: function): this
  • setTimeout(callback: function): this
  • Parameters

    • Optional msecs: number
    • Optional callback: function
        • (): void
        • Returns void

    Returns this

  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns this

Generated using TypeDoc