Table of Contents

TTMSMCPHTTPServerRequest.PostStream Property

The request body as a stream, or nil when the request has no body. Read-only.

API unit family: TMS.MCP.HTTPServer Declaring type: TTMSMCPHTTPServerRequest Type: TStream

Syntax

property PostStream: TStream;

Remarks

Owned by the server and valid only while the handler runs. Read it once and keep what you need: the position is not reset for you, so a second read may see nothing. Decode it as UTF-8 unless the content type says otherwise.