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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp |
Datasnap.DSClientRest | TDSRestClientChannel |
Description
Creates a new TDSRestClientChannel class instance.
The Create method creates a new instance of the TDSRestClientChannel class. Call Create with the AChannelId, AServerChannelName, and AConnection parameters.
The AChannelId parameter represents the unique identifier for this client channel callback. The AServerChannelName parameter represents the unique name of the server channel callback. The AConnection parameter represents the DataSnap REST connection.