HttpCacheEntry
Assembly: ServiceStack.Client.dll
View Source
Declaration
public class HttpCacheEntry
Properties
Created
View Source
Declaration
public DateTime Created { get; set; }
ETag
View Source
Declaration
public string ETag { get; set; }
LastModified
View Source
Declaration
public DateTime? LastModified { get; set; }
MustRevalidate
View Source
Declaration
public bool MustRevalidate { get; set; }
NoCache
View Source
Declaration
public bool NoCache { get; set; }
Age
View Source
Declaration
public TimeSpan? Age { get; set; }
MaxAge
View Source
Declaration
public TimeSpan MaxAge { get; set; }
Expires
View Source
Declaration
public DateTime Expires { get; set; }
ContentLength
View Source
Declaration
public long? ContentLength { get; set; }
Response
View Source
Declaration
public object Response { get; set; }
Methods
SetMaxAge(TimeSpan)
View Source
Declaration
public void SetMaxAge(TimeSpan maxAge)
Parameters
Type | Name |
---|---|
System.TimeSpan | maxAge |
HasExpired()
View Source
Declaration
public bool HasExpired()
Returns
System.Boolean
CanUseCacheOnError()
View Source
Declaration
public bool CanUseCacheOnError()
Returns
System.Boolean
ShouldRevalidate()
View Source
Declaration
public bool ShouldRevalidate()
Returns
System.Boolean