Data.Cloud.CloudAPI.TCloudService.AddHeaders
Delphi
procedure AddHeaders(Request: THTTPClient; const headers: TStringList); virtual;
C++
virtual void __fastcall AddHeaders(System::Net::Httpclient::THTTPClient* Request, System::Classes::TStringList* const headers);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.Cloud.CloudAPI.pas Data.Cloud.CloudAPI.hpp |
Data.Cloud.CloudAPI | TCloudService |
Description
Helper method to add the given pair to the header of the request.
Use the AddHeaders method if the header being set is a field in the request, instead of part of the custom header list.
Parameter | Description |
---|---|
|
The request to add the header name/value pair to |
|
List of string key values to use as the header of the request. |