macro_rules! uri_auth {
($u:tt) => { ... };
($u:tt, $p:tt) => { ... };
}Expand description
Generate a URI authentication from credentials.
let auth = uri_auth!("user");
let auth = uri_auth!("user", "pass");macro_rules! uri_auth {
($u:tt) => { ... };
($u:tt, $p:tt) => { ... };
}Generate a URI authentication from credentials.
let auth = uri_auth!("user");
let auth = uri_auth!("user", "pass");