File: decompressor.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 (25 lines) | stat: -rw-r--r-- 518 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
module HTTP2
  module Header
    class Decompressor
      include BufferUtils

      FORBIDDEN_HEADERS: Array[String]

      @cc: EncodingContext

      def table_size=: (Integer) -> void

      def integer: (String, Integer) -> Integer

      def string: (String) -> String

      def header: (String) -> header_command

      def decode: (String, frame?) -> Array[header_pair]
                | (String) -> Array[header_pair]
      private

      def initialize: (?connection_opts options) -> void
    end
  end
end