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
Show file Open project: vanthoainguyen/Flatwhite Class Usage Examples

Public Methods

Method 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 method

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
return System.Net.Http.HttpResponseMessage