def settings(**new_settings)
      send_immediately Frame::Settings.new(**new_settings)

      old_settings = @local_settings.dup
      @local_settings.merge!(new_settings)

      @hpack_decoder.limit = @local_settings[:header_table_size]
      update_recv_initial_window_size(@local_settings[:initial_window_size] - old_settings[:initial_window_size])
    end
def settings(**new_settings)
      send_immediately Frame::Settings.new(**new_settings)

      old_settings = @local_settings.dup
      @local_settings.merge!(new_settings)

      @hpack_decoder.limit = @local_settings[:header_table_size]
      update_recv_initial_window_size(@local_settings[:initial_window_size] - old_settings[:initial_window_size])
    end
Sends local settings to the peer.
 @param new_settings [Hash<Symbol, Integer>]