Documentation
    Preparing search index...
    ServerConfig: RequestConfig & ResponseConfig & {
        useAsyncLocalStorage: boolean;
        qs: QSParserConfig;
        keepAliveTimeout?: number;
        headersTimeout?: number;
        requestTimeout?: number;
        timeout?: number;
    }

    Complete configuration options for the HTTP server extending request and response configs

    Type Declaration

    • useAsyncLocalStorage: boolean

      Whether or not to create an async local storage store for the HTTP context.

      Defaults to false

    • qs: QSParserConfig

      Config for query string parser

    • OptionalkeepAliveTimeout?: number

      The number of milliseconds of inactivity a server needs to wait for additional incoming data after it has finished writing the last response.

      5000 (as per Node.js defaults)
      
    • OptionalheadersTimeout?: number

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

      60000 (as per Node.js defaults)
      
    • OptionalrequestTimeout?: number

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

      300000 (as per Node.js defaults)
      
    • Optionaltimeout?: number

      The number of milliseconds of inactivity before a socket is presumed to have timed out

      0 (as per Node.js defaults)