Datasnap.DSClientRest.TDSRestClientChannel.Create
Delphi
constructor Create(const AChannelId, AServerChannelName: string; AConnection: TDSCustomRestConnection);
C++
__fastcall TDSRestClientChannel(const System::UnicodeString AChannelId, const System::UnicodeString AServerChannelName, TDSCustomRestConnection* AConnection);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp |
Datasnap.DSClientRest | TDSRestClientChannel |
Description
Crée une nouvelle instance de la classe TDSRestClientChannel.
La méthode Create crée une nouvelle instance de la classe TDSRestClientChannel. Appellez Create avec les paramètres AChannelId, AServerChannelName et AConnection.
Le paramètre AChannelId représente l'identificateur unique pour ce callback du canal client. Le paramètre AServerChannelName représente le nom unique du callback du canal serveur. Le paramètre AConnection représente la connexion DataSnap REST.