Table of Contents

TTMSMCPHTTPServerResponse.ContentText Property

The body of the answer. Empty by default.

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

Syntax

property ContentText: string;

Remarks

Sent by the server after the handler returns. Set a matching content-type header, since one is not inferred from the text. A handler that streams its answer leaves this empty and writes through the connection instead.