Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NodeHttp2HandlerOptions

Represents the http2 options that can be passed to a node http2 client.

Hierarchy

  • NodeHttp2HandlerOptions

Index

Properties

Optional disableConcurrentStreams

disableConcurrentStreams: undefined | false | true

Disables processing concurrent streams on a ClientHttp2Session instance. When set to true, the handler will create a new session instance for each request to a URL. Default: false. https://nodejs.org/api/http2.html#http2_class_clienthttp2session

Optional requestTimeout

requestTimeout: undefined | number

The maximum time in milliseconds that a stream may remain idle before it is closed.

Optional sessionTimeout

sessionTimeout: undefined | number

The maximum time in milliseconds that a session or socket may remain idle before it is closed. https://nodejs.org/docs/latest-v12.x/api/http2.html#http2_http2session_and_sockets