Skip to main content

classify

Function classify 

Source
pub fn classify(content_type: Option<&str>, url: &str) -> ResourceType
Expand description

Classify an entry by content-type, then URL extension, then host.