Skip to main contentModule http
Source - Settings
- HTTP client settings - decoupled from Config struct.
- TlsConfig
- TLS certificate configuration options.
- DEFAULT_USER_AGENT
- Default browser-like user agent for speedtest.net compatibility.
Can be overridden via config file with custom_user_agent option.
- create_client
- Create an HTTP client with the given settings.
- discover_client_ip
- Discover the client’s public IP address via speedtest.net.
- with_retry
- Execute an HTTP request with automatic retry on transient failures.