Skip to main content

CacheResponseExtensions

Assembly: ServiceStack.dll
View Source
Declaration
public static class CacheResponseExtensions

Methods

LastModifiedKey(CacheInfo)

View Source
Declaration
public static string LastModifiedKey(this CacheInfo cacheInfo)
Returns

System.String

Parameters
TypeName
ServiceStack.CacheInfocacheInfo

HandleValidCache(IRequest, CacheInfo, CancellationToken)

View Source
Declaration
public static async Task<bool> HandleValidCache(this IRequest req, CacheInfo cacheInfo, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<System.Boolean>

Parameters
TypeName
ServiceStack.Web.IRequestreq
ServiceStack.CacheInfocacheInfo
System.Threading.CancellationTokentoken