[This is preliminary documentation and is subject to change.]

Gets or sets names of headers which should be considered by the caching systems.

Namespace: Simple.Web.HttpSimple.Web.HttpSimple::Web::Http
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public ICollection<string> VaryByHeaders { getset; }

VB

Public Property VaryByHeaders As ICollection(Of String)

Get

Set

C++

public:

property ICollection<String^>^ VaryByHeaders {

ICollection<String^>^ get();

void set(ICollection<String^>^ value);

}

Property Value

Type: System.Collections.Generic.ICollection<string>System.Collections.Generic.ICollection(Of String)System.Collections.Generic::ICollection<String^>
The headers to vary by.

See Also

CacheOptionsCacheOptionsCacheOptions Class
Simple.Web.HttpSimple.Web.HttpSimple::Web::Http Namespace