Share via


CacheControlHeaderValue.MaxStaleLimit Property

Definition

Gets or sets a value for the max-stale directive.

Indicates the maximum duration an HTTP client is willing to accept a response that has exceeded its expiration time.

public:
 property Nullable<TimeSpan> MaxStaleLimit { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? MaxStaleLimit { get; set; }
member this.MaxStaleLimit : Nullable<TimeSpan> with get, set
Public Property MaxStaleLimit As Nullable(Of TimeSpan)

Property Value

Remarks

See https://tools.ietf.org/html/rfc7234#section-5.2.1.2.

Applies to