Datasnap.DSClientRest.TDSRestCacheCommand.GetParameter

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSClientRest.pas
Datasnap.DSClientRest.hpp
Unit: Datasnap.DSClientRest
Parent: TDSRestCacheCommand

Delphi

procedure GetParameter(AResponseStreamProc: TDSRestResponseStreamProc; const ARequestFilter: string = ''); overload;
procedure GetParameter(out AJSONValue: TJSONValue; const ARequestFilter: string = ''); overload;
procedure GetParameter(out AStream: TStream; AOwnsObject: Boolean; const ARequestFilter: string = ''); overload;

C++

void __fastcall GetParameter(_di_TDSRestResponseStreamProc AResponseStreamProc, const System::UnicodeString ARequestFilter = System::UnicodeString())/* overload */;
void __fastcall GetParameter(/* out */ System::Json::TJSONValue* &AJSONValue, const System::UnicodeString ARequestFilter = System::UnicodeString())/* overload */;
void __fastcall GetParameter(/* out */ System::Classes::TStream* &AStream, bool AOwnsObject, const System::UnicodeString ARequestFilter = System::UnicodeString())/* overload */;

Description

Issues a 'GET' command to the server to retrieve a parameter.

The GetParameter method issues a 'GET' command to the server to retrieve a DataSnap REST cache command parameter. There are three GetParameter overloads that can obtain the parameter in a response stream, a JSON value, or a binary stream.

See Also