Sha256: 2c11b23fae668823b209b4a1fbef219677310fc22b05dff2ffff07ea0f518b42

Contents?: true

Size: 486 Bytes

Versions: 33

Compression:

Stored size: 486 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
    def capacity: () -> Integer

    # 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

33 entries across 33 versions & 1 rubygems

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