Function url_prefix::create_prefix[][src]

pub fn create_prefix<S: AsRef<str>, P: AsRef<str>>(
    protocol: Protocol,
    domain: S,
    port: Option<u16>,
    path: Option<P>
) -> String

Create a URL prefix string.