sig/resolver/resolver.rbs in httpx-1.1.5 vs sig/resolver/resolver.rbs in httpx-1.2.0
- old
+ new
@@ -12,18 +12,20 @@
@queries: Hash[String, Connection]
@system_resolver: Resolv::Hosts
def close: () -> void
+ alias terminate close
+
def closed?: () -> bool
def empty?: () -> bool
def emit_addresses: (Connection connection, ip_family family, Array[IPAddr], ?bool early_resolve) -> void
private
- def emit_resolved_connection: (Connection connection, Array[IPAddr] addresses) -> void
+ def emit_resolved_connection: (Connection connection, Array[IPAddr] addresses, bool early_resolve) -> void
def initialize: (ip_family? family, options options) -> void
def early_resolve: (Connection connection, ?hostname: String) -> void