Skip to main content
Table of Contents

TTMSFNCRESTClientRequestHeaders Class

Stores the HTTP headers for a request or response.

API unit family: TMSFNCRESTClient Inherits from: TTMSFNCOwnedCollection

Syntax

FMX.TMSFNCRESTClient.hppPascalC++
TTMSFNCRESTClientRequestHeaders = class(TTMSFNCOwnedCollection)
class PASCALIMPLEMENTATION TTMSFNCRESTClientRequestHeaders : public TTMSFNCOwnedCollection__1<TTMSFNCRESTClientRequestHeader*>

Properties

Name Description
Items Gets or sets a request header by index.

Methods

Name Description
Add Adds a request header item.
AddHeader Adds a request header with a key and value.
GetHeadersText Returns all headers as formatted text.
Insert Inserts a request header item at the specified index.