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

HttpRequestHeaders Class 1:

HttpRequestHeaders

Initializes a new instance of the HttpRequestHeaders class with the specified IReadOnlyDictionaryTKey, TValue.

Properties

 

Name

Description

HttpRequestHeaders Class 2:

Count

Gets the number of elements in the collection.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 3:

Item

Gets the HTTP header values for the specified key.

HttpRequestHeaders Class 4:

Keys

Gets an enumerable collection that contains the keys in the read-only dictionary.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 5:

Values

Gets an enumerable collection that contains the values in the read-only dictionary.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

Methods

 

Name

Description

HttpRequestHeaders Class 6:

ContainsKey

Determines whether the read-only dictionary contains an element that has the specified key.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 7:

Equals(MultiValueReadOnlyDictionaryTKey, TValue)

Indicates whether the current MultiValueReadOnlyDictionaryTKey, TValue is equal to another MultiValueReadOnlyDictionaryTKey, TValue.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 8:

Equals(Object)

Determines whether the specified Object is equal to the current MultiValueReadOnlyDictionaryTKey, TValue.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 9:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

HttpRequestHeaders Class 10:

GetAllValues

Gets all values under the specified key.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 11:

GetEnumerator

Returns an enumerator that iterates through the collection.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 12:

GetFirstValue

Gets the first value under the specified key.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 13:

GetHashCode

Serves as the default hash function.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 14:

GetType

Gets the Type of the current instance.
(Inherited from Object)

HttpRequestHeaders Class 15:

GetValue

Gets the value at the specified index under the specified key.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 16:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

HttpRequestHeaders Class 17:

HttpRequestHeaders Class 18:

ParseRequestHeaders

Parses the specified String to the equivalent HttpRequestHeaders.

HttpRequestHeaders Class 19:

HttpRequestHeaders Class 20:

SplitHeaderValue

Splits the specified HTTP header value into multiple HTTP header values.

HttpRequestHeaders Class 21:

ToCollection

Converts the current instance of the MultiValueReadOnlyDictionaryTKey, TValue class to an ICollectionT.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

HttpRequestHeaders Class 22:

ToString

Returns a string that represents the current object.
(Overrides ObjectToString)

HttpRequestHeaders Class 23:

TryGetValue(TKey, IEnumerableTValue)

Gets the value that is associated with the specified key.
(Inherited from MultiValueReadOnlyDictionaryTKey, TValue)

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core.Tools.Net.Http Namespace

Copyright © Beckhoff Automation GmbH & Co. KG