[][src]Macro libsip::uri_auth

macro_rules! uri_auth {
    ($u: tt) => { ... };
    ($u: tt, $p: tt) => { ... };
}

Generate a URI authentication from credentials.

   #[macro_use] extern crate libsip;

   let auth = uri_auth!("user");
   let auth = uri_auth!("user", "pass");