Sha256: 8fc3e8830c772ddb634c84c69f744a7d8efce4b28e2539ecc3423a9039603bd0

Contents?: true

Size: 528 Bytes

Versions: 20

Compression:

Stored size: 528 Bytes

Contents

module HTTPX
  module Transcoder
    class Deflater
      extend Forwardable

      @body: BodyReader
      @buffer: Response::Buffer?
      @body: _Encoder | StringIO
      @closed: bool

      attr_reader content_type: String

      def initialize: (_Encoder body) -> void

      def bytesize: () -> (Integer | Float)

      def read: (?int? length, ?string outbuf) -> String?

      def close: () -> void

      def deflate: (String? chunk) -> String?

      private

      def buffer_deflate!: () -> void

    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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