Skip to main content

host_matches_pattern

Function host_matches_pattern 

Source
pub fn host_matches_pattern(host: &str, pattern: &str) -> bool
Expand description

Whether host matches a single pattern (see module docs).