pub fn resolve(base: Option<&Url>, reference: &str) -> Option<String>Expand description
Resolve reference against base (RFC 3986 §5.2 as the url crate
implements it). base is the MPD’s own URL (a source URL, or
Url::from_file_path); None for an in-memory MPD, in which case a result
that stays relative is returned relative. None is returned when the
reference contains a control character or whitespace
(first_forbidden_char) or does not parse.