Sisk

Constructor

HttpHeaderList constructor

Namespace
Sisk.Cadente
Assembly
Sisk.Cadente.dll

HttpHeaderList() #

Initializes a new instance of the HttpHeaderList class.

C#
public HttpHeaderList()

HttpHeaderList(int) #

Initializes a new instance of the HttpHeaderList class with the specified initial capacity.

C#
public HttpHeaderList(int capacity)

Parameters #

capacity int

The number of elements that the new list can initially store.

HttpHeaderList(IEnumerable<HttpHeader>) #

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

C#
public HttpHeaderList(IEnumerable<HttpHeader> headers)

Parameters #

headers IEnumerable<HttpHeader>

The collection whose elements are copied to the new list.

HttpHeaderList(IEnumerable<HttpHeader>, bool) #

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

C#
public HttpHeaderList(IEnumerable<HttpHeader> headers, bool readOnly = false)

Parameters #

headers IEnumerable<HttpHeader>

The collection whose elements are copied to the new list.

readOnly bool

true to make the list read-only; otherwise, false.

Type to search the documentation and the API reference.