[][src]Function oration::notify::get_domain

fn get_domain(host: &str) -> &str

Parses a URL, returning just the domain portion. The regex is overkill for this at the moment, but I think it may be usefull in the future to have this ability.