Function url_prefix::create_prefix
source · pub fn create_prefix<S: AsRef<str>, P: AsRef<str>>(
protocol: Protocol,
domain: S,
port: Option<u16>,
path: Option<P>
) -> String
Expand description
Create a URL prefix string.