Skip to main content
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

TMS.MCP.HTTPServer.hppPascalC++
property ContentText: string;
__property System::UnicodeString ContentText = {read=FContentText, write=SetContentText};

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.