Data.Cloud.CloudAPI.TCloudService.AddHeaders
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Data.Cloud.CloudAPI.pas Data.Cloud.CloudAPI.hpp
| |
Unit: Data.Cloud.CloudAPI | |
Parent: TCloudService |
Delphi
procedure AddHeaders(Request: THTTPClient; const headers: TStringList); virtual;
C++
virtual void __fastcall AddHeaders(System::Net::Httpclient::THTTPClient* Request, System::Classes::TStringList* const headers);
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. |