Protocol::HTTP2SourceProtocolHTTP2Priority

class Priority

Stream Dependency: A 31-bit stream identifier for the stream that this stream depends on (see Section 5.3). This field is only present if the PRIORITY flag is set.

Definitions

def self.default(stream_dependency = 0, weight = 16)

All streams are initially assigned a non-exclusive dependency on stream 0x0. Pushed streams (Section 8.2) initially depend on their associated stream. In both cases, streams are assigned a default weight of 16.

Implementation

def self.default(stream_dependency = 0, weight = 16)
	self.new(false, stream_dependency, weight)
end