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

Extracts links from HTTP headers. More...

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

Public Member Functions

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

Detailed Description

Extracts links from HTTP headers.

Member Function Documentation

◆ GetLinksAsync()

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

Extracts links from the response .

Exceptions
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: