Skip to main content
Table of Contents

TTMSFNCCustomRESTClient.ExecuteRequestWithResultFile Method

Executes the configured request and writes the response to a file.

API unit family: TMSFNCRESTClient Declaring type: TTMSFNCCustomRESTClient

Syntax

FMX.TMSFNCRESTClient.hppPascalC++
function ExecuteRequestWithResultFile(ACallback: TTMSFNCRESTClientGetResponseFileCallBack = nil): TTMSFNCRESTClientExecutedRequest;
TTMSFNCRESTClientExecutedRequest* __fastcall ExecuteRequestWithResultFile(_di_TTMSFNCRESTClientGetResponseFileCallBack ACallback = _di_TTMSFNCRESTClientGetResponseFileCallBack());

Parameters

Name Description
ACallback Optional callback invoked with the response file path and size.

Returns

The executed request entry that stores request and response data.