lib/http/protocol/http2/ping_frame.rb in http-protocol-0.3.2 vs lib/http/protocol/http2/ping_frame.rb in http-protocol-0.4.0
- old
+ new
@@ -67,10 +67,10 @@
frame.pack self.unpack
return frame
end
- def read_payload(io)
+ def read_payload(stream)
super
if @length > 8
raise FrameSizeError, "Invalid frame length"
end