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
Object
ExpiresHeaderValue

Constructors

ExpiresHeaderValue(TimeSpan)

Initializes a new instance of the ExpiresHeaderValue class.

public ExpiresHeaderValue(TimeSpan expires)

Parameters

expires TimeSpan

The System.TimeSpan value for when the client-cache expires.

Methods

ToString()

Returns a System.String that represents this instance.

public override string ToString()

Returns

String

A System.String that represents this instance.