Datasnap.DSClientRest.TDSRestClientChannel.Connect

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

procedure Connect(AFirstCallback: TDSRestClientCallback);

C++

void __fastcall Connect(TDSRestClientCallback* AFirstCallback);


Description

Connects the client channel and registers the given callback.

The Connect method connects the client channel and registers the given callback. The channel can only be opened if at least one callback is registered. The AFirstCallback parameter is an instance of TDSRestClientCallback.

See Also