Method: Protocol::HTTP2::ResetStreamFrame#read_payload

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

#read_payload(stream) ⇒ Object



63
64
65
66
67
68
69
# File 'lib/protocol/http2/reset_stream_frame.rb', line 63

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