Skip to main content

try_upgrade_to_https

Function try_upgrade_to_https 

Source
pub async fn try_upgrade_to_https(
    http_uri: &str,
    probe_timeout_ms: u64,
) -> Result<String, UpgradeError>
Expand description

Probe HTTPS availability before upgrade Returns the HTTPS URI if successful, otherwise an error