Table of Contents

Class IisHttpResponseHeaders

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the IIS HTTP response headers configuration.

public class IisHttpResponseHeaders : BypassSection
Inheritance
IisHttpResponseHeaders
Inherited Members

Constructors

IisHttpResponseHeaders()

Intializes a new instance of the CENTREL.XIA.Configuration.Types.IisHttpErrors class.

public IisHttpResponseHeaders()

Properties

CacheControlExpiryDate

Gets or sets the cache control expiry date.

public DateTime CacheControlExpiryDate { get; set; }

Property Value

DateTime

CacheControlMaxAge

Gets or sets the cache control maximum age.

public SerializableTimeSpan CacheControlMaxAge { get; set; }

Property Value

SerializableTimeSpan

CacheControlMode

Gets or sets the cache control mode.

public IisHttpResponseHeaderCacheControlMode CacheControlMode { get; set; }

Property Value

IisHttpResponseHeaderCacheControlMode

CacheControlString

Gets the cache control as a human readable string.

public string CacheControlString { get; set; }

Property Value

string

EnableKeepAlive

Gets or sets whether to enable HTTP keep-alive.

public BooleanOption EnableKeepAlive { get; set; }

Property Value

BooleanOption

Items

Gets or sets the items in the collection.

public IisHttpResponseHeaderCollection Items { get; set; }

Property Value

IisHttpResponseHeaderCollection

Methods

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.IisHttpResponseHeaders class from the specified Xml.

public static IisHttpResponseHeaders FromXml(string xml)

Parameters

xml string

The XML representation of the CENTREL.XIA.Configuration.Types.IisHttpResponseHeaders object

Returns

IisHttpResponseHeaders

A CENTREL.XIA.Configuration.Types.IisHttpResponseHeaders class from the specified Xml.

ToString()

Returns the HTTP response headers as human readable string.

public override string ToString()

Returns

string

The HTTP response headers as a human readable string.