Sha256: c9d78fb4f0b8e06cb89513c5efa9a5e0cae4cd410862539ee29ee474165bd9b9

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 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) -> 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

1 entries across 1 versions & 1 rubygems

Version Path
httpx-1.3.4 sig/response/buffer.rbs