HttpResponseHeaders Class

Represents the HTTP headers of an HttpResponseMessage.

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 HttpResponseHeaders : HttpRequestHeaders, 
    IDictionary<string, string>, ICollection<KeyValuePair<string, string>>, 
    IEnumerable<KeyValuePair<string, string>>, IEnumerable

The HttpResponseHeaders type exposes the following members.

Constructors

 

Name

Description

HttpResponseHeaders Class 1:

HttpResponseHeaders

Initializes a new instance of the HttpResponseMessage class.

HttpResponseHeaders Class 2:

HttpResponseHeaders(DictionaryString, IEnumerableString)

Initializes a new instance of the HttpResponseMessage class with the specified HTTP headers.

Properties

 

Name

Description

HttpResponseHeaders Class 3:

Count

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

HttpResponseHeaders Class 4:

HttpResponseHeaders Class 5:

Empty

Gets a new empty instance of the HttpResponseHeaders class.

HttpResponseHeaders Class 6:

HttpResponseHeaders Class 7:

EmptyReadOnly

Gets an empty read-only instance of the HttpResponseHeaders class.

HttpResponseHeaders Class 8:

IsReadOnly

Gets a value indicating whether the ICollectionT is read-only.

HttpResponseHeaders Class 9:

Item

Gets the HTTP header values for the specified key.
(Inherited from HttpRequestHeaders)

HttpResponseHeaders Class 10:

Keys

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

HttpResponseHeaders Class 11:

Values

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

Methods

 

Name

Description

HttpResponseHeaders Class 12:

Add

Adds an element with the provided key and value to the IDictionaryTKey, TValue.

HttpResponseHeaders Class 13:

Clear

Removes all items from the ICollectionT.

HttpResponseHeaders Class 14:

Contains

Determines whether the ICollectionT contains a specific value.

HttpResponseHeaders Class 15:

ContainsKey

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

HttpResponseHeaders Class 16:

CopyTo

Copies the elements of the ICollectionT to an Array, starting at a particular Array index.

HttpResponseHeaders Class 17:

Equals(MultiValueReadOnlyDictionaryTKey, TValue)

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

HttpResponseHeaders Class 18:

Equals(Object)

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

HttpResponseHeaders Class 19:

Finalize

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

HttpResponseHeaders Class 20:

GetAllValues

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

HttpResponseHeaders Class 21:

GetEnumerator

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

HttpResponseHeaders Class 22:

GetFirstValue

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

HttpResponseHeaders Class 23:

GetHashCode

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

HttpResponseHeaders Class 24:

GetType

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

HttpResponseHeaders Class 25:

GetValue

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

HttpResponseHeaders Class 26:

MemberwiseClone

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

HttpResponseHeaders Class 27:

Remove(KeyValuePairString, String)

Removes the first occurrence of a specific object from the ICollectionT.

HttpResponseHeaders Class 28:

Remove(String)

Removes the element with the specified key from the IDictionaryTKey, TValue.

HttpResponseHeaders Class 29:

ToCollection

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

HttpResponseHeaders Class 30:

ToString

Returns a string that represents the current object.
(Inherited from HttpRequestHeaders)

HttpResponseHeaders Class 31:

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