lib/http/protocol/http2/window_update_frame.rb in http-protocol-0.2.0 vs lib/http/protocol/http2/window_update_frame.rb in http-protocol-0.2.1
- old
+ new
@@ -58,9 +58,13 @@
end
def limited?
@used > (@capacity / 2)
end
+
+ def to_s
+ "\#<Window #{@used}/#{@capacity}>"
+ end
end
# The WINDOW_UPDATE frame is used to implement flow control.
#
# +-+-------------------------------------------------------------+