Skip to main content

parse_link_next

Function parse_link_next 

Source
pub fn parse_link_next(header_value: &str) -> Option<String>
Expand description

Parses an RFC 5988 Link header value and returns the rel="next" URL.

Example input: <https://api.example.com/items?page=2>; rel="next", <https://api.example.com/items?page=10>; rel="last"