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

Endpoint that caches the last response. More...

Inheritance diagram for TypedRest.Endpoints.ICachingEndpoint:
TypedRest.Endpoints.IEndpoint TypedRest.Endpoints.Generic.CachingEndpointBase TypedRest.Endpoints.Generic.CollectionEndpoint< TEntity, TElementEndpoint > TypedRest.Endpoints.Generic.ElementEndpoint< TEntity > TypedRest.Endpoints.Reactive.StreamingCollectionEndpoint< TEntity, TElementEndpoint > TypedRest.Endpoints.Reactive.PollingEndpoint< TEntity >

Properties

ResponseCacheResponseCache [getset]
 A cached copy of the last response.
 
- Properties inherited from TypedRest.Endpoints.IEndpoint
Uri Uri [get]
 The HTTP URI of the remote resource.
 
HttpClient HttpClient [get]
 The HTTP client used to communicate with the remote resource.
 
MediaTypeFormatter Serializer [get]
 Controls the serialization of entities sent to and received from the server.
 
IErrorHandler ErrorHandler [get]
 Handles errors in responses.
 
ILinkExtractor LinkExtractor [get]
 Extracts links from responses.
 

Additional Inherited Members

- Public Member Functions inherited from TypedRest.Endpoints.IEndpoint
IReadOnlyList<(Uri uri, string? title)> GetLinks (string rel)
 Resolves all links with a specific relation type. Uses cached data from last response. More...
 
Uri Link (string rel)
 Resolves a single link with a specific relation type. Uses cached data from last response if possible. Tries lazy lookup with HTTP HEAD on cache miss. More...
 
Uri LinkTemplate (string rel, IDictionary< string, object > variables)
 Resolves a link template with a specific relation type. Uses cached data from last response if possible. Tries lazy lookup with HTTP HEAD on cache miss. More...
 
Uri LinkTemplate (string rel, object variables)
 Resolves a link template with a specific relation type. More...
 

Detailed Description

Endpoint that caches the last response.


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