C-DEngine 5.105

HttpListenerResponse..::..KeepAlive Property

Gets or sets a value indicating whether the server requests a persistent connection.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public bool KeepAlive { get; set; }
Public Property KeepAlive As Boolean
	Get
	Set
public:
property bool^ KeepAlive {
	bool^ get ();
	void set (bool^ value);
}

Field Value

true if the server requests a persistent connection; otherwise, false. The default value is true.

Exceptions


ExceptionCondition
InvalidOperationException The response has already been sent.
ObjectDisposedException This object is closed.