Datasnap.DSClientRest.TDSRestClientChannel.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Datasnap.DSClientRest.pas
Datasnap.DSClientRest.hpp
Unit: Datasnap.DSClientRest
Parent: TDSRestClientChannel

Delphi

constructor Create(const AChannelId, AServerChannelName: string; AConnection: TDSCustomRestConnection);

C++

__fastcall TDSRestClientChannel(const System::UnicodeString AChannelId, const System::UnicodeString AServerChannelName, TDSCustomRestConnection* AConnection);


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.

See Also