Constructor HttpHeaderList
HttpHeaderList()
Initializes a new instance of the HttpHeaderList class.
public HttpHeaderList()
HttpHeaderList(IEnumerable<HttpHeader>)
Initializes a new instance of the HttpHeaderList class that contains elements copied from the specified collection.
public HttpHeaderList(IEnumerable<HttpHeader> headers)
Parameters
headersIEnumerable<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.
public HttpHeaderList(IEnumerable<HttpHeader> headers, bool readOnly = false)
Parameters
headersIEnumerable<HttpHeader>The collection whose elements are copied to the new list.
readOnlybool
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語