LinkFormat
The CoRE Link Format of RFC 6690, application/link-format (ContentFormat.LINK_FORMAT), as served by /.well-known/core.
Properties
Functions
Link copied to clipboard
Applies the query filter of RFC 6690 §4.1: each name=value must match an attribute of the link (href matches the target); a value ending in * matches as a prefix, and the values of relation-type attributes match one by one. Queries without = match links that have the attribute.
Link copied to clipboard
Parses a link-format document the application supplies; a document from a peer, such as a /.well-known/core response, goes through parseOrNull. Whitespace between links and parameters is tolerated, as RFC 6690 §2 converts HTTP Link headers by removing it.
Link copied to clipboard