StructsΒ§
- Link
Data - The
LinkData
struct is used to store the URL provided in the Link header, as well as optional parameters. - Link
Data Owned - Link
Param LinkParam
is used represent the parsed data. It stores key value pairs from the Link header- Link
Param Owned
EnumsΒ§
ConstantsΒ§
- NUM_
EMPTY_ πELEMENTS
FunctionsΒ§
- link
Deprecated - Same as
link_strict
, but with the original name. When lenient parsing was introduced, to avoid ambiguity the function was renamed. To avoid breakages, the function still exists, but instead uselink_strict
. - link_
inner π - link_
lenient - Same as
link_strict
, except that empty parameters are leniently parsed. They donβt result in an error and are skipped when collecting parameters. - link_
strict - This method will parse a
&str
and return an array ofOption
s if it can successfully parse the&str
as a Link header. The reason we returnOption
s is because if the Link header has empty elements, we want to show that information to the user by returningNone
s. - list
- qdtext
QDTEXT = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text
- quoted_
pair π QUOTED-PAIR = "\" ( HTAB / SP / VCHAR / obs-text )
- quoted_
string π QUOTED-STRING = DQUOTE *( qdtext / quoted-pair ) DQUOTE
- quoted_
string_ πalloca - tchar
- token
TOKEN = 1*TCHAR