HttpRequestHeaders Class
Represents the HTTP headers of an HttpRequestMessage.
Inheritance Hierarchy
SystemObject
TcHmiSrv.Core.CollectionsMultiValueReadOnlyDictionaryString, String
TcHmiSrv.Core.Tools.Net.HttpHttpRequestHeaders
TcHmiSrv.Core.Tools.Net.HttpHttpResponseHeaders
Namespace: TcHmiSrv.Core.Tools.Net.Http
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public class HttpRequestHeaders : MultiValueReadOnlyDictionary<string, string>The HttpRequestHeaders type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the HttpRequestHeaders class with the specified IReadOnlyDictionaryTKey, TValue. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the number of elements in the collection. | |
|
|
Gets the HTTP header values for the specified key. | |
|
|
Gets an enumerable collection that contains the keys in the
read-only dictionary. | |
|
|
Gets an enumerable collection that contains the values in the
read-only dictionary. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether the read-only dictionary contains an element
that has the specified key. | |
|
|
Indicates whether the current MultiValueReadOnlyDictionaryTKey,
TValue is equal to another
MultiValueReadOnlyDictionaryTKey,
TValue. | |
|
|
Determines whether the specified Object is equal to the
current MultiValueReadOnlyDictionaryTKey,
TValue. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Gets all values under the specified key. | |
|
|
Returns an enumerator that iterates through the
collection. | |
|
|
Gets the first value under the specified key. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Gets the value at the specified index under the specified
key. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Parses the specified String to the equivalent HttpRequestHeaders. | |
|
|
Splits the specified HTTP header value into multiple HTTP header values. | |
|
|
Converts the current instance of the MultiValueReadOnlyDictionaryTKey,
TValue class to an ICollectionT. | |
|
|
Returns a string that represents the current object. | |
|
|
Gets the value that is associated with the specified key. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0