Datasnap.DSPlatform.TDBXServerComponent.NotifyCallback
Delphi
function NotifyCallback(const ClientId: string; const CallbackId: string; const Msg: TJSONValue; out Response: TJSONValue): Boolean;
C++
bool __fastcall NotifyCallback(const System::UnicodeString ClientId, const System::UnicodeString CallbackId, System::Json::TJSONValue* const Msg, /* out */ System::Json::TJSONValue* &Response);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp |
Datasnap.DSPlatform | TDBXServerComponent |
Description
Sends a message to a specific callback of a specific client.
NotifyCallback sends the Msg to the client callback that was registered with the given values of ChannelName, ClientId, and CallbackId. The value of Response will be set to the JSON value returned from the client's callback.