Constructors
constructor
-
-
Parameters
Methods
getHeaderTableSize
- getHeaderTableSize(): number
-
Returns number
getInitialWindowSize
- getInitialWindowSize(): number
-
Returns number
getMaxConcurrentStreams
- getMaxConcurrentStreams(): number
-
Returns number
getMaxFrameSize
- getMaxFrameSize(): number
-
Returns number
getMaxHeaderListSize
- getMaxHeaderListSize(): number
-
Returns number
isPushEnabled
-
Returns boolean
setHeaderTableSize
-
Parameters
setInitialWindowSize
-
Parameters
-
initialWindowSize: number
setMaxConcurrentStreams
- setMaxConcurrentStreams(maxConcurrentStreams: number): Http2Settings
-
Parameters
-
maxConcurrentStreams: number
setMaxFrameSize
-
Parameters
setMaxHeaderListSize
-
Parameters
-
maxHeaderListSize: number
setPushEnabled
-
Parameters
toJson
-
Returns {}
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.