Data.Cloud.CloudAPI.TCloudService.BuildStringToSignResourcePath

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function BuildStringToSignResourcePath(const URL: string): string; virtual;

C++

virtual System::UnicodeString __fastcall BuildStringToSignResourcePath(const System::UnicodeString URL);

Properties

Type Visibility Source Unit Parent
function protected
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Data.Cloud.CloudAPI TCloudService

Description

Takes in a URL and optionally uses it to parse the HTTPRequestURI.

BuildStringToSignResourcePath returns the HTTPRequestURI for use in a StringToSign, or an empty string.

By default, based on the value of FUseResourcePath, the value returned is the part after the host name, up until the beginning of the query parameters. By default, BuildStringToSignResourcePath returns, at minimum, a forward slash (/) character.

The URL parameter represents the URL of the request.

See Also