Sha256: 9486623b1ee75e47a5487c353b949ac50f4d5e1e57b3c6f1c29422835ac6a961

Contents?: true

Size: 705 Bytes

Versions: 20

Compression:

Stored size: 705 Bytes

Contents

module HTTPX
  module Plugins
    module Brotli
      def self?.load_dependencies: (singleton(Session)) -> void

      def self?.encode: (body_encoder body) -> Deflater

      def self?.decode: (HTTPX::Response response, ?bytesize: Integer) -> Transcoder::_Decoder

      class Deflater < Transcoder::Deflater
      end

      module RequestBodyClassMethods
        def initialize_deflater_body: (body_encoder body, Encoding | String encoding) -> body_encoder
      end

      module ResponseBodyClassMethods
        def initialize_inflater_by_encoding: (Encoding | String encoding, Response response, ?bytesize: Integer) -> (Transcoder::_Decoder | Transcoder::GZIP::Inflater)
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
httpx-1.3.4 sig/plugins/brotli.rbs
httpx-1.3.3 sig/plugins/brotli.rbs
httpx-1.3.2 sig/plugins/brotli.rbs
httpx-1.3.1 sig/plugins/brotli.rbs
httpx-1.3.0 sig/plugins/brotli.rbs
httpx-1.2.6 sig/plugins/brotli.rbs
httpx-1.2.4 sig/plugins/brotli.rbs
httpx-1.2.3 sig/plugins/brotli.rbs
httpx-1.2.2 sig/plugins/brotli.rbs
httpx-1.2.1 sig/plugins/brotli.rbs
httpx-1.2.0 sig/plugins/brotli.rbs
httpx-1.1.5 sig/plugins/brotli.rbs
httpx-1.1.4 sig/plugins/brotli.rbs
httpx-1.1.3 sig/plugins/brotli.rbs
httpx-1.1.2 sig/plugins/brotli.rbs
httpx-1.1.1 sig/plugins/brotli.rbs
httpx-1.1.0 sig/plugins/brotli.rbs
httpx-1.0.2 sig/plugins/brotli.rbs
httpx-1.0.1 sig/plugins/brotli.rbs
httpx-1.0.0 sig/plugins/brotli.rbs