Datasnap.DSClientRest.TDSRestClientCallback.Create
Delphi
constructor Create(AClientChannel: TDSRestClientChannel; const ACallbackId: string;
AClientCallbackFunction: TDSRestClientCallbackFunction; AChannelNames: TStrings = nil);
C++
__fastcall TDSRestClientCallback(TDSRestClientChannel* AClientChannel, const System::UnicodeString ACallbackId, TDSRestClientCallbackFunction AClientCallbackFunction, System::Classes::TStrings* AChannelNames);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp |
Datasnap.DSClientRest | TDSRestClientCallback |
Description
Creates a new TDSRestClientCallback class instance.
The Create method creates a new instance of the TDSRestClientCallback class.
The AClientChannel parameter specifies the client channel callback. The ACallbackId parameter represents the identifier of the callback. The AClientCallbackFunction parameter specifies a DataSnap REST client callback function.