Data.Cloud.CloudAPI.TCloudService.BuildStringToSignResourcePath

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 BuildStringToSignResourcePath(const URL: string): string; virtual;

C++

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

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