Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Http2Settings

HTTP2 settings, the settings is initialized with the default HTTP/2 values.

The settings expose the parameters defined by the HTTP/2 specification, as well as extra settings for protocol extensions.

Hierarchy

  • Http2Settings

Index

Constructors

constructor

  • Returns Http2Settings

  • Parameters

    Returns Http2Settings

Methods

getHeaderTableSize

  • getHeaderTableSize(): number
  • Set HTTP/2 setting.

    Returns number

getInitialWindowSize

  • getInitialWindowSize(): number
  • Set the HTTP/2 setting

    Returns number

getMaxConcurrentStreams

  • getMaxConcurrentStreams(): number
  • Set the HTTP/2 setting

    Returns number

getMaxFrameSize

  • getMaxFrameSize(): number
  • Set the HTTP/2 setting

    Returns number

getMaxHeaderListSize

  • getMaxHeaderListSize(): number
  • Set the HTTP/2 setting

    Returns number

isPushEnabled

  • isPushEnabled(): boolean
  • Set the HTTP/2 setting

    Returns boolean

setHeaderTableSize

  • Set HTTP/2 setting.

    Parameters

    • headerTableSize: number

    Returns Http2Settings

setInitialWindowSize

  • Set the HTTP/2 setting

    Parameters

    • initialWindowSize: number

    Returns Http2Settings

setMaxConcurrentStreams

  • setMaxConcurrentStreams(maxConcurrentStreams: number): Http2Settings
  • Set the HTTP/2 setting

    Parameters

    • maxConcurrentStreams: number

    Returns Http2Settings

setMaxFrameSize

  • Set the HTTP/2 setting

    Parameters

    • maxFrameSize: number

    Returns Http2Settings

setMaxHeaderListSize

  • Set the HTTP/2 setting

    Parameters

    • maxHeaderListSize: number

    Returns Http2Settings

setPushEnabled

  • Set the HTTP/2 setting

    Parameters

    • pushEnabled: boolean

    Returns Http2Settings

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc