File: compressor.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 (29 lines) | stat: -rw-r--r-- 696 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
24
25
26
27
28
29
module HTTP2
  module Header
    class Compressor
      include PackingExtensions

      @cc: EncodingContext

      def table_size=: (Integer) -> void

      def integer: (Integer, Integer, buffer: String, ?offset: Integer) -> String

      def string: (String, ?String buffer) -> String

      def header: (header_command, ?String) -> String

      def encode: (Enumerable[header_pair]) -> String

      private

      def initialize: (?connection_opts options) -> void

      def huffman_string: (String str, ?String buffer) -> String

      def plain_string: (String str, ?String buffer) -> String

      def set_huffman_size: (String str, Integer huffman_offset) -> String
    end
  end
end