sig/response.rbs in httpx-0.20.5 vs sig/response.rbs in httpx-0.21.0
- old
+ new
@@ -1,7 +1,9 @@
module HTTPX
interface _Response
+ def finished?: () -> bool
+
def raise_for_status: () -> self
def error: () -> StandardError?
end
@@ -59,10 +61,10 @@
def write:(String chunk) -> Integer?
def each: () { (String) -> void } -> void
| () -> Enumerable[String]
- def bytesize: () -> Numeric
+ def bytesize: () -> (Integer | Float)
def empty?: () -> bool
def copy_to: (String | File | _Writer destination) -> void
def close: () -> void
def closed?: () -> bool
\ No newline at end of file