httpx/sig/resolver/multi.rbs
HoneyryderChuck 037994514b reworked early_resolve to work with dual-stack
for multi-backed resolvers, resolving is attempted before sending it to
    the resolver. in this way, cached, local or ip resolves get
    propagated to the proper resolver by ip family, instead of the
    previous mess.

    the system resolver doesn't do these shenanigans (trust getaddrinfo)
2022-01-17 00:56:09 +02:00

7 lines
140 B
Plaintext

module HTTPX
module Resolver
class Multi
def early_resolve: (Connection connection, ?hostname: String) -> void
end
end
end