Data.Cloud.CloudAPI.TCloudService.URLEncodeQueryParams

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure URLEncodeQueryParams(const ForURL: Boolean; var ParamName, ParamValue: string); virtual;

C++

virtual void __fastcall URLEncodeQueryParams(const bool ForURL, System::UnicodeString &ParamName, System::UnicodeString &ParamValue);

Properties

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

Description

URL-encodes the parameter name and value.

URLEncodeQueryParams can be extended by a subclass to conditionally do encoding.

The following table shows the significance of the parameters:

Parameter Description

ForURL

Set to true if the parameter is for a URL, and to false if it is for a signature.

ParamName

The name of the parameter.

ParamValue

The value of the parameter.

See Also