Macro named_header

Source
macro_rules! named_header {
    ($u:tt) => { ... };
    ($u:tt, $name:tt) => { ... };
}
Expand description

Generate NamedHeader from a uri;

let uri = libsip::Uri::sip(domain!("example.com"));
let domain = named_header!(uri);