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

- old
+ new

@@ -81,43 +81,46 @@ attr_reader request_body_class: singleton(Request::Body) attr_reader response_body_class: singleton(Response::Body) + attr_reader resolver_class: Symbol | Class + attr_reader ssl: Hash[Symbol, untyped] - # request_class response_class headers_class request_body_class - # response_body_class connection_class - # resolver_class resolver_options - # io type io_option = _ToIO | Hash[String, _ToIO] attr_reader io: io_option? # fallback_protocol - attr_reader fallback_protocol: String? + attr_reader fallback_protocol: String # debug attr_reader debug: _IOLogger? # debug_level attr_reader debug_level: Integer # persistent - attr_reader persistent: bool? + attr_reader persistent: bool # resolver_options - attr_reader resolver_options: Hash[Symbol, untyped]? + attr_reader resolver_options: Hash[Symbol, untyped] + # ip_families + attr_reader ip_families: Array[ip_family] + def ==: (untyped other) -> bool def merge: (_ToHash[Symbol, untyped] other) -> instance def to_hash: () -> Hash[Symbol, untyped] private REQUEST_IVARS: Array[Symbol] def initialize: (?options options) -> untyped + + def __initialize__: (?options options) -> untyped end type options = Options | Hash[Symbol, untyped] end