/// User and password for HTTP basic auth at the server API
User and password for HTTP basic auth at the server API
User and password for HTTP basic auth at the server API
pub fn from_basic(user: &str, passwd: &str) -> Self
    {
        Self::Basic {
            user:   user.to_owned(),
            passwd: passwd.to_owned(),
            cookie: None,
        }
    }
pub fn from_basic ( user : & str , passwd : & str ) -> Self { Self :: Basic { user : user . to_owned ( ) , passwd : passwd . to_owned ( ) , cookie : None , } }
User and password for HTTP basic auth at the server API
User and password for HTTP basic auth at the server API
user
&str
passwd
&str