Table of Contents

Class HttpHeaderList

Namespace
Sisk.Cadente
Assembly
Sisk.Cadente.dll

Represents a typed list of HttpHeader.

public sealed class HttpHeaderList : IList<HttpHeader>, ICollection<HttpHeader>, IEnumerable<HttpHeader>, IEnumerable
Inheritance
HttpHeaderList
Implements
Inherited Members

Constructors

HttpHeaderList()

Initializes a new instance of the HttpHeaderList class.

HttpHeaderList(IEnumerable<HttpHeader>)

Initializes a new instance of the HttpHeaderList class that contains elements copied from the specified collection.

HttpHeaderList(IEnumerable<HttpHeader>, bool)

Initializes a new instance of the HttpHeaderList class that contains elements copied from the specified collection.

Properties

Count
IsReadOnly
this[int]

Methods

Add(HttpHeader)
Clear()
Contains(HttpHeader)
Contains(string)

Determines whether the collection contains a header with the specified name.

CopyTo(HttpHeader[], int)
Get(string)

Gets the values of all headers that match the specified name.

GetEnumerator()
IndexOf(HttpHeader)
Insert(int, HttpHeader)
Remove(HttpHeader)

Removes all HttpHeader instances that match the specified header.

Remove(string)

Removes all HttpHeader instances that match the specified header name.

RemoveAt(int)
Set(HttpHeader)

Sets the specified HttpHeader in the collection, replacing any existing header with the same name.