class Protocol::HTTP2::Window

def initialize(capacity = 0xFFFF)

Parameters:
  • capacity (Integer) -- The initial window size, typically from the settings.
def initialize(capacity = 0xFFFF)
	# This is the main field required:
	@available = capacity
	
	# These two fields are primarily used for efficiently sending window updates:
	@used = 0
	@capacity = capacity
end