CacheControlHeaderValue::MaxStale Property

.NET Framework (current version)
 

Whether an HTTP client is willing to accept a response that has exceeded its expiration time.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

public:
property bool MaxStale {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the HTTP client is willing to accept a response that has exceed the expiration time; otherwise, false.

This property represents if the "max-stale" directive is present in a cache-control header field on an HTTP request.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: