sig/request.rbs in httpx-0.18.7 vs sig/request.rbs in httpx-0.19.0

- old
+ new

@@ -13,10 +13,15 @@ attr_reader state: Symbol attr_reader options: Options attr_reader response: response? attr_reader drain_error: StandardError? + @trailers: Headers? + @informational_status: Integer? + @query: String? + @drainer: Enumerator[String, void]? + def initialize: (Symbol | String, generic_uri, ?options) -> untyped def interests: () -> (:r | :w) def merge_headers: (_Each[[String, headers_value]]) -> void @@ -44,10 +49,14 @@ def trailers: () -> Headers def trailers?: () -> boolish class Body + @headers: Headers + @body: body_encoder? + @unbounded_body: bool + def initialize: (Headers, Options) -> untyped def each: () { (String) -> void } -> void | () -> Enumerable[String] def rewind: () -> void @@ -59,9 +68,11 @@ def chunk!: () -> void def inspect: () -> String end class ProcIO + @block: ^(String) -> void + def initialize: (^(String) -> void) -> untyped def write: (String data) -> Integer end end