pub fn basic_auth_value(
username: &str,
password: &str,
) -> Result<String, ConnectError>Expand description
Build a Basic <base64(user:pass)> proxy-auth value.
ยงErrors
Returns ConnectError::InvalidCredentials when the username contains
:, or when either input contains CR, LF, NUL, or other control
bytes. Inputs are never echoed in errors.