Skip to main content
Table of Contents

TTMSMCPCloudBaseRequestResult.AddHeader Method

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

API unit family: TMS.MCP.CloudBase Declaring type: TTMSMCPCloudBaseRequestResult Inherited from: TTMSMCPCloudBaseRequest

Syntax

TMS.MCP.CloudBase.hppPascalC++
function AddHeader(const AName: string; const AValue: string): TTMSMCPCloudBaseRequestHeader;
TTMSMCPCloudBaseRequestHeader* __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 TTMSMCPCloudBaseRequestHeader.