Method: Protocol::HTTP2::PriorityFrame#read_payload

Defined in:
lib/protocol/http2/priority_frame.rb

#read_payload(stream) ⇒ Object



90
91
92
93
94
95
96
# File 'lib/protocol/http2/priority_frame.rb', line 90

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