Datasnap.DSService.TDSService.ProcessRequest
Delphi
procedure ProcessRequest(const Request: TJSONArray; ResponseHandler: TRequestCommandHandler); overload; virtual;
procedure ProcessRequest(const ACommand: string; const AResponseHandler: TRequestCommandHandler; ACallback: TExecuteCallback); overload; virtual;
C++
virtual void __fastcall ProcessRequest(System::Json::TJSONArray* const Request, Data::Dbxcommon::TRequestCommandHandler* ResponseHandler)/* overload */;
virtual void __fastcall ProcessRequest(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
Dispatches the JSON request to the appropriate processing method.
The ProcessRequest method dispatches the JSON request to the appropriate processing method. The Request parameter is an array of JSON objects that will be dispatched to the processing method. The Response parameter represents the execution result.