Mono Class Library: System.Net.HttpWebRequest Overview | MembersSystem.Net.HttpWebRequest.Connection Property |
Gets or sets the value of the Connection HTTP header. [Edit]
|
A string containing the value of the Connection HTTP header. The default value is null. [Edit]
Type Reason ArgumentException The value of HttpWebRequest.Connection is set to "Keep-alive" or "Close". This value is case insensitive. [Edit]
The current request sends the HttpWebRequest.Connection property to the Internet resource as the Connection HTTP header.
Note:[Edit]If HttpWebRequest.KeepAlive is true , the value "Keep-alive" is appended to the end of the Connection header.
For additional information see section 14.10 of IETF RFC 2616 - HTTP/1.1.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0