lib/http/protocol/http2/continuation_frame.rb in http-protocol-0.3.2 vs lib/http/protocol/http2/continuation_frame.rb in http-protocol-0.4.0
- old
+ new
@@ -32,24 +32,24 @@
def end_headers?
flag_set?(END_HEADERS)
end
- def read(io, maximum_frame_size)
+ def read(stream, maximum_frame_size)
super
unless end_headers?
@continuation = ContinuationFrame.new
- @continuation.read(io, maximum_frame_size)
+ @continuation.read(stream, maximum_frame_size)
end
end
- def write(io)
+ def write(stream)
super
if continuation = self.continuation
- continuation.write(io)
+ continuation.write(stream)
end
end
attr_accessor :continuation