[][src]Function url_prefix::create_prefix

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.