Data.Cloud.CloudAPI.TCloudService.IssueHeadRequest

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Unit: Data.Cloud.CloudAPI
Parent: TCloudService

Delphi

function IssueHeadRequest(URL: string; Headers: TStringList;
QueryParameters: TStringList; const QueryPrefix: string;
ResponseInfo: TCloudResponseInfo): TCloudHTTP; virtual;

C++

virtual TCloudHTTP* __fastcall IssueHeadRequest(System::UnicodeString URL, System::Classes::TStringList* Headers, System::Classes::TStringList* QueryParameters, const System::UnicodeString QueryPrefix, TCloudResponseInfo* ResponseInfo);

Description

Executes a HEAD request with the given parameters.

IssueHeadRequest returns the TCloudHTTP instance used to issue the request.

The following table shows the significance of the parameters:

Parameter Description

URL

The URL to issue the request to

Headers

The header name/value pairs to use in the request and authentication

QueryParameters

The query parameter name/value pairs to use in the request and authentication

QueryPrefix

The string to prefix the query string with when building the StringToSign

ResponseInfo

The TCloudResponseInfo instance to populate from the response of the request, or nil

See Also