sig/resolver/resolver.rbs in httpx-0.22.2 vs sig/resolver/resolver.rbs in httpx-0.22.3
- old
+ new
@@ -4,11 +4,11 @@
include Callbacks
include Loggable
RECORD_TYPES: Hash[Integer, singleton(Resolv::DNS::Resource)]
- attr_reader family: ip_family
+ attr_reader family: ip_family?
@record_type: singleton(Resolv::DNS::Resource)
@options: Options
@resolver_options: Hash[Symbol, untyped]
@queries: Hash[String, Connection]
@@ -21,9 +21,11 @@
def empty?: () -> bool
def emit_addresses: (Connection connection, ip_family family, Array[IPAddr]) -> void
private
+
+ def emit_resolved_connection: (Connection connection, Array[IPAddr] addresses) -> void
def initialize: (ip_family? family, options options) -> void
def early_resolve: (Connection connection, ?hostname: String) -> void