Method: HTTP::Protocol::HTTP2::Connection#update_local_settings

Defined in:
lib/http/protocol/http2/connection.rb

#update_local_settings(changes) ⇒ Object



173
174
175
176
177
178
179
# File 'lib/http/protocol/http2/connection.rb', line 173

def update_local_settings(changes)
  capacity = @local_settings.initial_window_size
  
  @streams.each_value do |stream|
    stream.local_window.capacity = capacity
  end
end