Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A collection of headers and their values as defined in RFC 2616.
Inheritance Hierarchy
System.Object
System.Net.Http.Headers.HttpHeaders
System.Net.Http.Headers.HttpContentHeaders
System.Net.Http.Headers.HttpRequestHeaders
System.Net.Http.Headers.HttpResponseHeaders
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public MustInherit Class HttpHeaders _
Implements IEnumerable(Of KeyValuePair(Of String, IEnumerable(Of String))), _
IEnumerable
'Usage
Dim instance As HttpHeaders
public abstract class HttpHeaders : IEnumerable<KeyValuePair<string, IEnumerable<string>>>,
IEnumerable
public ref class HttpHeaders abstract : IEnumerable<KeyValuePair<String^, IEnumerable<String^>^>>,
IEnumerable
[<AbstractClassAttribute>]
type HttpHeaders =
class
interface IEnumerable<KeyValuePair<string, IEnumerable<string>>>
interface IEnumerable
end
public abstract class HttpHeaders implements IEnumerable<KeyValuePair<String, IEnumerable<String>>>, IEnumerable
The HttpHeaders type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
HttpHeaders | Initializes a new instance of the HttpHeaders class. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Add(String, IEnumerable<String>) | |
![]() |
Add(String, String) | |
![]() |
Clear | |
![]() |
Contains | |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEnumerator | |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetValues | |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Remove | |
![]() |
ToString | (Overrides Object.ToString().) |
![]() |
TryAddWithoutValidation(String, IEnumerable<String>) | |
![]() |
TryAddWithoutValidation(String, String) | |
![]() |
TryGetValues |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IEnumerable.GetEnumerator |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)