Sisk

Class

HttpHeaderList

Namespace
Sisk.Cadente
Assembly
Sisk.Cadente.dll

Represents a typed list of HttpHeader.

C#
public sealed class HttpHeaderList : IList<HttpHeader>, ICollection<HttpHeader>, IEnumerable<HttpHeader>, IEnumerable

Inheritance #

object ← HttpHeaderList

Implements #

IList<HttpHeader>, ICollection<HttpHeader>, IEnumerable<HttpHeader>, IEnumerable

Inherited Members #

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors #

NameDescription
HttpHeaderList()Initializes a new instance of the HttpHeaderList class.
HttpHeaderList(int)Initializes a new instance of the HttpHeaderList class with the specified initial capacity.
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 #

NameDescription
Count
IsReadOnly
this[int]

Methods #

NameDescription
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.

Type to search the documentation and the API reference.