2026-03-24 15:12:56 +08:00
|
|
|
mod client;
|
|
|
|
|
mod config;
|
2026-09-04 03:45:52 +08:00
|
|
|
mod dns;
|
|
|
|
|
mod header_security;
|
|
|
|
|
mod response_body;
|
2026-03-24 15:12:56 +08:00
|
|
|
mod retry;
|
|
|
|
|
|
|
|
|
|
pub use client::{apply_http_client_config, build_http_client, build_http_client_with_headers};
|
|
|
|
|
pub use config::{HttpClientConfig, HttpRetryConfig};
|
2026-09-08 17:44:59 +08:00
|
|
|
pub use dns::{
|
|
|
|
|
lookup_host_with_limits, parse_ip_literal_host, DEFAULT_DNS_LOOKUP_TIMEOUT,
|
|
|
|
|
MAX_DNS_RESOLVED_ADDRESSES,
|
|
|
|
|
};
|
2026-09-04 03:45:52 +08:00
|
|
|
pub use header_security::{
|
2026-09-04 16:13:19 +08:00
|
|
|
connection_declared_header_names, is_https_or_loopback_http_url, is_ipv4_benchmarking_fake_ip,
|
|
|
|
|
is_private_or_reserved_ip, url_has_literal_loopback_host,
|
2026-09-04 03:45:52 +08:00
|
|
|
};
|
|
|
|
|
pub use response_body::{read_response_bytes_with_limit, ResponseBodyReadError};
|
2026-03-24 15:12:56 +08:00
|
|
|
pub use retry::jittered_delay_for_retry;
|