Sha256: e34da44fca72a4944d87fe816a65039a5ed39283a9d5add629070406be6c28b3

Contents?: true

Size: 685 Bytes

Versions: 11

Compression:

Stored size: 685 Bytes

Contents

module HTTPX::Transcoder
  module Chunker
    CRLF: String

    class Error < HTTPX::Error
    end

    def self?.encode: (_Each[String] chunks) -> Encoder

    class Encoder
      @raw: _Each[String]

      include _Each[String]

      private

      def initialize: (_Each[String] chunks) -> untyped
    end

    class Decoder
      extend Forwardable
      include _ToS
      include _Each[String]

      def finished?: () -> bool
      def empty?: () -> bool
      def <<: (string) -> void
      def clear: () -> void

      private

      def initialize: (String, bool) -> untyped
                    | (String) -> untyped

      def nextstate: (Symbol) -> void
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
httpx-0.18.7 sig/transcoder/chunker.rbs
httpx-0.18.6 sig/transcoder/chunker.rbs
httpx-0.18.5 sig/transcoder/chunker.rbs
httpx-0.18.4 sig/transcoder/chunker.rbs
httpx-0.18.3 sig/transcoder/chunker.rbs
httpx-0.18.2 sig/transcoder/chunker.rbs
httpx-0.18.1 sig/transcoder/chunker.rbs
httpx-0.18.0 sig/transcoder/chunker.rbs
httpx-0.17.0 sig/transcoder/chunker.rbs
httpx-0.16.1 sig/transcoder/chunker.rbs
httpx-0.16.0 sig/transcoder/chunker.rbs