Function opendal::raw::format_authorization_by_basic

source ·
pub fn format_authorization_by_basic(
    username: &str,
    password: &str
) -> Result<String>
Expand description

format authorization header by basic auth.

§Errors

If input username is empty, function will return an unexpected error.