Skip to main content

proxy_consistency

Function proxy_consistency 

Source
pub fn proxy_consistency(
    http: Option<String>,
    https: Option<String>,
) -> (CheckStatus, &'static str)
Expand description

Classifies a pair of proxy variables into a status plus a message.

None means the variable is unset. The two values are passed in so the classification can be unit-tested without touching the real environment.