Mono Class Library: System.Net.HttpWebRequest Overview | Members

System.Net.HttpWebRequest.KeepAlive Property

Gets or sets a bool value indicating whether to make a persistent connection to the server hosting the Internet resource requested by the current instance. [Edit]

public bool KeepAlive { set; get; }

Value

true indicates that the current request will contain an HTTP Connection header with the value "Keep-alive" ; otherwise, false. The default value is true. [Edit]

Remarks

Note: An application uses HttpWebRequest.KeepAlive to indicate a preference for persistent connections. When this property is true , the application makes persistent connections to the servers that support them.
[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0