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
Type | Name |
---|---|
ServiceStack.CacheInfo | cacheInfo |
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
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
ServiceStack.CacheInfo | cacheInfo |
System.Threading.CancellationToken | token |