Http2Settings

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

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

package

Default

Methods

Http2Settings constructor

__construct( $http2Settings = null) 

Arguments

$http2Settings

mixed | null

getHeaderTableSize

getHeaderTableSize() : integer

Response

integer

getInitialWindowSize

getInitialWindowSize() : integer

Response

integer

getMaxConcurrentStreams

getMaxConcurrentStreams() : integer

Response

integer

getMaxFrameSize

getMaxFrameSize() : integer

Response

integer

getMaxHeaderListSize

getMaxHeaderListSize() : integer

Response

integer

isPushEnabled

isPushEnabled() : boolean

Response

boolean

setHeaderTableSize

setHeaderTableSize( $headerTableSize) : $this

Arguments

$headerTableSize

integer

Response

$this

setInitialWindowSize

setInitialWindowSize( $initialWindowSize) : $this

Arguments

$initialWindowSize

integer

Response

$this

setMaxConcurrentStreams

setMaxConcurrentStreams( $maxConcurrentStreams) : $this

Arguments

$maxConcurrentStreams

integer

Response

$this

setMaxFrameSize

setMaxFrameSize( $maxFrameSize) : $this

Arguments

$maxFrameSize

integer

Response

$this

setMaxHeaderListSize

setMaxHeaderListSize( $maxHeaderListSize) : $this

Arguments

$maxHeaderListSize

integer

Response

$this

setPushEnabled

setPushEnabled( $pushEnabled) : $this

Arguments

$pushEnabled

boolean

Response

$this