Bagikan melalui


CacheControlHeaderValue.MaxAge Properti

Definisi

Mendapatkan atau menetapkan nilai untuk direktif max-age .

usia maksimal menentukan jumlah waktu maksimum respons dianggap segar.

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

Nilai Properti

Keterangan

Lihat https://tools.ietf.org/html/rfc7234#section-5.2.1.1.

Berlaku untuk