Method: HTTP::Protocol::HTTP2::FlowControl#consume_local_window
- Defined in:
- lib/http/protocol/http2/flow_control.rb
#consume_local_window(frame) ⇒ Object
52 53 54 55 56 57 58 59 60 |
# File 'lib/http/protocol/http2/flow_control.rb', line 52 def consume_local_window(frame) amount = frame.length @local_window.consume(amount) if @local_window.limited? self.send_window_update(@local_window.used) end end |