| HttpWebRequestHeaders Property |
A collection of HTTP headers stored as name/value pairs.
Namespace: Eclo.NETMF.SIM800HAssembly: Eclo.NETMF.SIM800H (in Eclo.NETMF.SIM800H.dll) Version: 1.1.97.0 (1.1.97.0)
Syntax public WebHeaderCollection Headers { get; set; }
Property Value
Type:
WebHeaderCollectionA
WebHeaderCollection that contains the name/value
pairs that make up the headers for the HTTP request.
Remarks
The following header values are set through properties on the
HttpWebRequest class: Accept, Connection,
Content-Length, Content-Type, Expect, Range, Referrer,
Transfer-Encoding, and User-Agent. Trying to set these header
values by using
WebHeaderCollection.Add(String, String)()
will raise an exception. Date and Host are set internally.
See Also