Class AggregateLinkExtractor
Combines the results of multiple ILinkExtractors.
public sealed class AggregateLinkExtractor : ILinkExtractor
- Inheritance
-
AggregateLinkExtractor
- Implements
- Inherited Members
Constructors
AggregateLinkExtractor(params ILinkExtractor[])
Creates a new aggregate link extractor.
public AggregateLinkExtractor(params ILinkExtractor[] extractors)
Parameters
extractors
ILinkExtractor[]The link extractors to aggregate.
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).