Sha256: a42e37dfbe951bae354f1f61743ca7e0531dcbc4a7c469ecb91434f7b5f9ed38

Contents?: true

Size: 489 Bytes

Versions: 19

Compression:

Stored size: 489 Bytes

Contents

module HTTPX
  class Response::Buffer
    @threshold_size: Integer
    @bytesize: Integer
    @encoding: Encoding
    @buffer: StringIO | Tempfile

    def initialize: (threshold_size: Integer, ?bytesize: Integer, ?encoding: Encoding | String) -> void

    def size: () -> Integer

    def write: (String) -> void

    def to_s: () -> String

    def close: () -> void

    private

    def try_upgrade_buffer: () -> void

    def _with_same_buffer_pos: () { () -> void } -> void
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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