Skip to main content

http_client_with_resolver

Function http_client_with_resolver 

Source
pub fn http_client_with_resolver(
    enforce_external_addresses: bool,
) -> SharedHttpClient
Expand description

Returns an AWS SDK HTTP client whose DNS resolver delegates to mz_ore::netio::resolve_address.

Only the IP resolution step is overridden — the SDK still uses the original hostname for SNI and TLS certificate validation, so HTTPS endpoints work unchanged.