Class HalLinkExtractor
Extracts links from JSON bodies according to the Hypertext Application Language (HAL) specification.
public sealed class HalLinkExtractor : ILinkExtractor
- Inheritance
-
HalLinkExtractor
- Implements
- Inherited Members
Methods
GetLinksAsync(HttpResponseMessage)
Extracts links from the response
.
public Task<IReadOnlyList<Link>> GetLinksAsync(HttpResponseMessage response)
Parameters
response
HttpResponseMessage
Returns
Exceptions
- FormatException
One or more of the links found are invalid (e.g. missing a 'rel' type).