Click or drag to resize
WebHeaderCollection Class
Contains protocol headers associated with a request or response. Manages name-value pairs for HTTP headers.
Inheritance Hierarchy
SystemObject
  Eclo.NETMF.SIM800HWebHeaderCollection

Namespace: Eclo.NETMF.SIM800H
Assembly: Eclo.NETMF.SIM800H (in Eclo.NETMF.SIM800H.dll) Version: 1.1.97.0 (1.1.97.0)
Syntax
C#
public class WebHeaderCollection

The WebHeaderCollection type exposes the following members.

Constructors
  NameDescription
Public methodWebHeaderCollection
Creates an empty collection of WEB headers.
Top
Properties
  NameDescription
Public propertyAllKeys
Gets all header names (keys) in the collection.
Public propertyCount
Gets the number of headers in the collection.
Public propertyItem
Returns the string value for the header.
Top
Methods
  NameDescription
Public methodAdd
Inserts a header with the specified name and value into the collection.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetValues
Returns the values for the specified header name.
Public methodRemove
Removes the specified header from the collection.
Public methodToString (Inherited from Object.)
Top
Remarks
This class includes additional methods, including HTTP parsing of a collection into a buffer that can be sent.

Headers are validated when attempting to add them.

Implementation follows .NETMF System.Net.WebHeaderCollection
See Also