Skip to main content

detect_region_at

Function detect_region_at 

Source
pub(crate) fn detect_region_at(
    host: &str,
    port: u16,
    timeout: Duration,
) -> String
Expand description

Low-level region probe: connects to host:port over plain TCP and sends a HEAD / HTTP/1.0 request. Used directly by tests with a local mock server.