Interface ILinkExtractor
Extracts links from responses.
public interface ILinkExtractor
Methods
GetLinksAsync(HttpResponseMessage)
Extracts links from the response
.
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).