sig/resolver/https.rbs in httpx-0.22.2 vs sig/resolver/https.rbs in httpx-0.22.3
- old
+ new
@@ -4,11 +4,12 @@
NAMESERVER: String
DEFAULTS: Hash[Symbol, untyped]
FAMILY_TYPES: Hash[singleton(Resolv::DNS::Resource), String]
- @family: ip_family
+ attr_reader family: ip_family
+
@options: Options
@requests: Hash[Request, String]
@connections: Array[Connection]
@uri: URI::Generic
@uri_addresses: Array[String]?
@@ -31,9 +32,9 @@
def parse: (Request request, Response response) -> void
def build_request: (String hostname) -> Request
- def decode_response_body: (Response) -> Array[dns_result]
+ def decode_response_body: (Response) -> Array[dns_result]?
end
end
end
\ No newline at end of file