sig/response.rbs in httpx-0.12.0 vs sig/response.rbs in httpx-0.13.0
- old
+ new
@@ -35,10 +35,12 @@
include _Reader
include _ToS
include _ToStr
@state: :idle | :memory | :buffer
+ @threshold_size: Integer
+ @window_size: Integer
def each: () { (String) -> void } -> void
| () -> Enumerable[String]
def bytesize: () -> Numeric
@@ -46,10 +48,10 @@
def copy_to: (_ToPath | _Writer destination) -> void
def close: () -> void
private
- def initialize: (Response, ?threshold_size: Integer, ?window_size: Integer) -> untyped
+ def initialize: (Response, options) -> untyped
def rewind: () -> void
def transition: () -> void
end
end
\ No newline at end of file