sig/response.rbs in httpx-0.23.3 vs sig/response.rbs in httpx-0.23.4
- old
+ new
@@ -56,10 +56,11 @@
@state: :idle | :memory | :buffer | :closed
@threshold_size: Integer
@window_size: Integer
@length: Integer
@buffer: StringIO | Tempfile | nil
+ @reader: StringIO | Tempfile | nil
def write:(String chunk) -> Integer?
def each: () { (String) -> void } -> void
| () -> Enumerable[String]
@@ -70,13 +71,14 @@
def empty?: () -> bool
def copy_to: (String | File | _Writer destination) -> void
def close: () -> void
def closed?: () -> bool
+ def rewind: () -> void
+
private
- def initialize: (Response, Options) -> untyped
- def rewind: () -> void
+ def initialize: (Response, Options) -> void
def transition: () -> void
def _with_same_buffer_pos: [A] () { () -> A } -> A
end
end
\ No newline at end of file