C# Class ServiceStack.HttpCacheFeature

Inheritance: IPlugin
Exibir arquivo Open project: ServiceStack/ServiceStack Class Usage Examples

Public Methods

Method Description
BuildCacheControlHeader ( ServiceStack.CacheInfo cacheInfo ) : string
HandleCacheResponses ( IRequest req, IResponse res, object response ) : void
HttpCacheFeature ( ) : System
Register ( IAppHost appHost ) : void

Private Methods

Method Description
CacheAndWriteResponse ( ServiceStack.CacheInfo cacheInfo, IRequest req, IResponse res, object response ) : bool

Method Details

BuildCacheControlHeader() public method

public BuildCacheControlHeader ( ServiceStack.CacheInfo cacheInfo ) : string
cacheInfo ServiceStack.CacheInfo
return string

HandleCacheResponses() public method

public HandleCacheResponses ( IRequest req, IResponse res, object response ) : void
req IRequest
res IResponse
response object
return void

HttpCacheFeature() public method

public HttpCacheFeature ( ) : System
return System

Register() public method

public Register ( IAppHost appHost ) : void
appHost IAppHost
return void