lib/http/protocol/http2/reset_stream_frame.rb in http-protocol-0.3.2 vs lib/http/protocol/http2/reset_stream_frame.rb in http-protocol-0.4.0
- old
+ new
@@ -59,10 +59,10 @@
def apply(connection)
connection.receive_reset_stream(self)
end
- def read_payload(io)
+ def read_payload(stream)
super
if @length != 4
raise FrameSizeError, "Invalid frame length"
end