Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPResponseInfo.CloseConnection Property

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

Pascal
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'.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.