Skip to main content
Table of Contents

TTMSFNCCloudBaseRequest.AddHeader Method

Adds a custom HTTP header to the request and returns the created header object.

API unit family: TMSFNCCloudBase Declaring type: TTMSFNCCloudBaseRequest

Syntax

FMX.TMSFNCCloudBase.hppPascalC++
function AddHeader(const AName: string; const AValue: string): TTMSFNCCloudBaseRequestHeader;
TTMSFNCCloudBaseRequestHeader* __fastcall AddHeader(const System::UnicodeString AName, const System::UnicodeString AValue);

Parameters

Name Description
AName The HTTP header field name.
AValue The value for the header field.

Returns

The newly created TTMSFNCCloudBaseRequestHeader.