Table of Contents

TTMSMCPHTTPServerResponse.CloseConnection Property

Whether the connection is closed once the answer has been sent. Defaults to True.

API unit family: TMS.MCP.HTTPServer Declaring type: TTMSMCPHTTPServerResponse Type: Boolean

Syntax

property CloseConnection: Boolean;

Remarks

Set it to False to keep the connection open, which is what a handler does when it holds a long-lived stream and keeps writing after returning.