Sha256: 9acc90904f1df88c8b1f38ea667435c16e05154b9cac6ddc95e411d6bbd8528b

Contents?: true

Size: 454 Bytes

Versions: 8

Compression:

Stored size: 454 Bytes

Contents

module HTTPX
  class Buffer
    extend Forwardable

    include _ToS
    include _ToStr

    @buffer: String

    attr_reader limit: Integer

    def full?: () -> bool
    def shift!: (Integer) -> void

    # delegated
    def <<: (string data) -> String
    def empty?: () -> bool
    def bytesize: () -> (Integer | Float)
    def clear: () -> void
    def replace: (string) -> void

    private

    def initialize: (Integer limit) -> untyped
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
httpx-0.22.5 sig/buffer.rbs
httpx-0.22.4 sig/buffer.rbs
httpx-0.22.3 sig/buffer.rbs
httpx-0.22.2 sig/buffer.rbs
httpx-0.22.1 sig/buffer.rbs
httpx-0.22.0 sig/buffer.rbs
httpx-0.21.1 sig/buffer.rbs
httpx-0.21.0 sig/buffer.rbs