[][src]Crate parse_link_header

A library for parse http link header.

How to use

In your Cargo.toml, add:

[dependencies]
parse_link_header = "0.1"

Then:

let link_header = "<https://api.github.com/repositories/41986369/contributors?page=2>; rel=\"next\", <https://api.github.com/repositories/41986369/contributors?page=14>; rel=\"last\"";
parse_link_header::parse(link_header);

Functions

parse