TypedRest for .NET 1.3.6
build type-safe fluent-style REST API clients
TypedRest.Links.AggregateLinkExtractor Class Reference

Combines the results of multiple ILinkExtractors. More...

Inheritance diagram for TypedRest.Links.AggregateLinkExtractor:

Public Member Functions

 AggregateLinkExtractor (params ILinkExtractor[] extractors)
 Creates a new aggregate link extractor. More...
async Task< IReadOnlyList< Link > > GetLinksAsync (HttpResponseMessage response)
 Extracts links from the response . More...

Detailed Description

Combines the results of multiple ILinkExtractors.

Constructor & Destructor Documentation

◆ AggregateLinkExtractor()

TypedRest.Links.AggregateLinkExtractor.AggregateLinkExtractor ( params ILinkExtractor[]  extractors)

Creates a new aggregate link extractor.

extractorsThe link extractors to aggregate.

Member Function Documentation

◆ GetLinksAsync()

async Task< IReadOnlyList< Link > > TypedRest.Links.AggregateLinkExtractor.GetLinksAsync ( HttpResponseMessage  response)

Extracts links from the response .

FormatExceptionOne or more of the links found are invalid (e.g. missing a 'rel' type).

Implements TypedRest.Links.ILinkExtractor.

The documentation for this class was generated from the following file: