class Protocol::HTTP2::WindowUpdateFrame
-
————————————————————-+
|R| Window Size Increment (31) |-
————————————————————-+
The WINDOW_UPDATE frame is used to implement flow control.
def apply(connection)
def apply(connection) connection.receive_window_update(self) end
def pack(window_size_increment)
def pack(window_size_increment) super [window_size_increment].pack(FORMAT) end
def read_payload(stream)
def read_payload(stream) super if @length != 4 raise FrameSizeError, "Invalid frame length: #{@length} != 4!" end end
def unpack
def unpack super.unpack1(FORMAT) end