class Protocol::HTTP2::Connection
def consume_window(size = self.available_size)
-
amount
(Integer
) -- the amount of data to write. Defaults to the current window capacity.
def consume_window(size = self.available_size) # Return if there is no window to consume: return unless size > 0 # Console.info(self) do |buffer| # @dependencies.each do |id, dependency| # buffer.puts "- #{dependency}" # end # # buffer.puts # # @dependency.print_hierarchy(buffer) # end @dependency.consume_window(size) end