File: flow_buffer.rbs

package info (click to toggle)
ruby-http-2 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 13,360 kB
  • sloc: ruby: 6,031; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module HTTP2
  module FlowBuffer
    MAX_WINDOW_SIZE: Integer

    attr_reader send_buffer: FrameBuffer

    def buffered_amount: () -> Integer

    def flush: () -> void

    private

    def update_local_window: (data_frame frame) -> void

    def calculate_window_update: (Integer) -> void

    def send_data: (?data_frame? frame, ?bool encode) -> void

    def send_frame: (data_frame frame, bool encode) -> void

    def process_window_update: (frame: window_update_frame, ?encode: bool) -> void
  end
end