StreamPriority

This class represents HTTP/2 stream priority defined in RFC 7540 clause 5.3

package

Default

Methods

StreamPriority constructor

__construct( $streamPriority = null) 

Arguments

$streamPriority

mixed | null

getDependency

getDependency() : integer

Response

integer

getWeight

getWeight() : integer

Response

integer

isExclusive

isExclusive() : boolean

Response

boolean

setDependency

setDependency( $dependency) : $this

Arguments

$dependency

integer

Response

$this

setExclusive

setExclusive( $exclusive) : $this

Arguments

$exclusive

boolean

Response

$this

setWeight

setWeight( $weight) : $this

Arguments

$weight

integer

Response

$this