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

function AddHeader(const AName: string; const AValue: string): TTMSFNCCloudBaseRequestHeader;

Parameters

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

Returns

The newly created TTMSFNCCloudBaseRequestHeader.