C# Class Flatwhite.WebApi.CacheResponseBuilder

Build a response from cacheItem but also take into account all cache-request-directive http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
Inheritance: ICacheResponseBuilder
Afficher le fichier Open project: vanthoainguyen/Flatwhite Class Usage Examples

Méthodes publiques

Méthode Description
GetResponse ( CacheControlHeaderValue cacheControl, WebApiCacheItem cacheItem, HttpRequestMessage request ) : HttpResponseMessage

Provide a single method to try to build a HttpResponseHeaders from CacheControlHeaderValue and HttpRequestMessage

Method Details

GetResponse() public méthode

Provide a single method to try to build a HttpResponseHeaders from CacheControlHeaderValue and HttpRequestMessage
public GetResponse ( CacheControlHeaderValue cacheControl, WebApiCacheItem cacheItem, HttpRequestMessage request ) : HttpResponseMessage
cacheControl System.Net.Http.Headers.CacheControlHeaderValue
cacheItem WebApiCacheItem
request System.Net.Http.HttpRequestMessage
Résultat System.Net.Http.HttpResponseMessage