Class HttpHeaderList
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
Methods
- Contains(string)
Determines whether the collection contains a header with the specified name.
- Get(string)
Gets the values of all headers that match the specified name.
- Remove(HttpHeader)
Removes all HttpHeader instances that match the specified header.
- Remove(string)
Removes all HttpHeader instances that match the specified header name.
- Set(HttpHeader)
Sets the specified HttpHeader in the collection, replacing any existing header with the same name.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語