Datasnap.DSClientRest.TDSRestClientCallback.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AClientChannel: TDSRestClientChannel; const ACallbackId: string;  AClientCallbackFunction: TDSRestClientCallbackFunction; AChannelNames: TStrings = nil);

C++

__fastcall TDSRestClientCallback(TDSRestClientChannel* AClientChannel, const System::UnicodeString ACallbackId, System::DelphiInterface<System::Sysutils::TFunc__3<System::Json::TJSONValue*,System::UnicodeString,bool> > 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.

See Also