Skip to main content

basic_auth

Function basic_auth 

Source
pub fn basic_auth<U, P>(username: U, password: Option<P>) -> HeaderValue
where U: Display, P: Display,
Expand description

Create an HTTP header for Basic auth