Datasnap.DSService.TDSService.Execute

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.DSService.pas
Datasnap.DSService.hpp
Unit: Datasnap.DSService
Parent: TDSService

Delphi

procedure Execute(const Request: TJSONObject; ResponseHandler: TRequestCommandHandler); overload;
procedure Execute(const ACommand: string; const AResponseHandler: TRequestCommandHandler; ACallback: TExecuteCallback); overload;

C++

void __fastcall Execute(System::Json::TJSONObject* const Request, Data::Dbxcommon::TRequestCommandHandler* ResponseHandler)/* overload */;
void __fastcall Execute(const System::UnicodeString ACommand, Data::Dbxcommon::TRequestCommandHandler* const AResponseHandler, _di_TExecuteCallback ACallback)/* overload */;

Description

Executes the JSON request and generates the JSON response.

The Execute method executes the JSON request received through the Request parameter and generates the JSON response, saved as the Response parameter.

See Also