Datasnap.DSService.TDSService.Execute
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 */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.DSService.pas Datasnap.DSService.hpp |
Datasnap.DSService | TDSService |
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.