Datasnap.DSService.TDSService.ProcessRequest

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 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 */;

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.

See Also