Share via


HttpListenerRequest.KeepAlive Property

Gets a value that indicates whether the client requests a persistent connection.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public bool KeepAlive { get; }

Property Value

true if the connection should be kept open; otherwise, false.

Remarks

This property is set during parsing of HTTP header.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

HttpListenerRequest Class
HttpListenerRequest Members
System.Net Namespace