lib/http/protocol/http2/framer.rb in http-protocol-0.10.0 vs lib/http/protocol/http2/framer.rb in http-protocol-0.10.1
- old
+ new
@@ -95,9 +95,11 @@
def write_frame(frame)
# puts "framer: write_frame #{frame.inspect}"
frame.write(@stream)
@stream.flush
+
+ return frame
end
def read_header
if buffer = @stream.read(9)
return Frame.parse_header(buffer)