[−][src]Function url_prefix::create_prefix_with_validated_host
pub fn create_prefix_with_validated_host<P: AsRef<str>>(
protocol: Protocol,
host: &Host,
path: Option<P>
) -> String
Create a safe URL prefix string.
pub fn create_prefix_with_validated_host<P: AsRef<str>>(
protocol: Protocol,
host: &Host,
path: Option<P>
) -> String
Create a safe URL prefix string.