Skip to main content

parse

Function parse 

Source
pub fn parse(content: &str) -> Result<MetalinkDoc, Box<dyn Error + Send + Sync>>
Expand description

Parse a .meta4 or .metalink XML string into a MetalinkDoc.

Both the RFC 5854 namespace (urn:ietf:params:xml:ns:metalink) and the older Metalink 3.x format (no namespace) are accepted.