TypedRest for .NET 1.3.5
build type-safe fluent-style REST API clients
TypedRest.Links.ILinkExtractor Interface Reference

Extracts links from responses. More...

Inheritance diagram for TypedRest.Links.ILinkExtractor:
TypedRest.Links.AggregateLinkExtractor TypedRest.Links.HalLinkExtractor TypedRest.Links.HeaderLinkExtractor

Public Member Functions

Task< IReadOnlyList< Link > > GetLinksAsync (HttpResponseMessage response)
 Extracts links from the response . More...
 

Detailed Description

Extracts links from responses.

Member Function Documentation

◆ GetLinksAsync()

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

Extracts links from the response .

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

Implemented in TypedRest.Links.AggregateLinkExtractor, TypedRest.Links.HalLinkExtractor, and TypedRest.Links.HeaderLinkExtractor.


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