pub fn parse(link_header: &str) -> Result<LinkMap>
Expand description
Parse link header into a LinkMap
.
Takes a &str
which is the value of the HTTP Link:
header, attempts to parse it, and returns
a Result<LinkMap>
which represents the mapping between the relationship and the link entry.