Method: Protocol::HTTP2::Connection#update_remote_settings

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

#update_remote_settings(changes) ⇒ Object



240
241
242
243
244
245
246
# File 'lib/protocol/http2/connection.rb', line 240

def update_remote_settings(changes)
	capacity = @remote_settings.initial_window_size
	
	@streams.each_value do |stream|
		stream.remote_window.capacity = capacity
	end
end