Topic Path: Symbol Reference > Classes > TIdHTTPResponseInfo Class > TIdHTTPResponseInfo Properties > CloseConnection Property
TIdHTTPResponseInfo.CloseConnection Property

Indicates if the HTTP response should contain a close connection header.

property CloseConnection: Boolean;

CloseConnection is a Boolean property that indicates if the connection used for the HTTP response should remain open, or close after completed transmission of the HTTP response. 

Changing the value in CloseConnection causes the value in the HTTP header to be updated when generating the connect header for the HTTP response. 

When CloseConnection contains True, the Connection header is given the value 'close'. Otherwise the Connection header is set to the value 'keep-alive'.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.