class Protocol::HTTP2::PriorityFrame


-————-+
| Weight (8) |
-————------------------------------------------------
|E| Stream Dependency (31) |
-————————————————————-+
The PRIORITY frame specifies the sender-advised priority of a stream. It can be sent in any stream state, including idle or closed streams.

def apply(connection)

def apply(connection)
	connection.receive_priority(self)
end

def pack priority

def pack priority
	super priority.pack
end

def read_payload(stream)

def read_payload(stream)
	super
	
	if @length != 5
		raise FrameSizeError, "Invalid frame length"
	end
end

def unpack

def unpack
	Priority.unpack(super)
end