Table of Contents

Class ExpiresHeaderValue

Namespace
Cuemon.AspNetCore.Http.Headers
Assembly
Cuemon.AspNetCore.dll

Represents a HTTP Expires header that contains the date/time after which the response is considered stale.

public class ExpiresHeaderValue
Inheritance
ExpiresHeaderValue

Constructors

ExpiresHeaderValue(TimeSpan)

Initializes a new instance of the ExpiresHeaderValue class.

public ExpiresHeaderValue(TimeSpan expires)

Parameters

expires TimeSpan

The TimeSpan value for when the client-cache expires.

Methods

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

String

A String that represents this instance.