sig/resolver/resolver.rbs in httpx-0.24.7 vs sig/resolver/resolver.rbs in httpx-1.0.0
- old
+ new
@@ -28,9 +28,9 @@
def early_resolve: (Connection connection, ?hostname: String) -> void
def emit_resolve_error: (Connection connection, ?String hostname, ?StandardError) -> void
- def resolve_error: (String hostname, ?StandardError?) -> ResolveError
+ def resolve_error: (String hostname, ?StandardError?) -> (ResolveError | ResolveTimeoutError)
end
end
end