Datasnap.DSClientRest.TDSRestClientChannel.Connect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Connect(AFirstCallback: TDSRestClientCallback);

C++

void __fastcall Connect(TDSRestClientCallback* AFirstCallback);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.DSClientRest.pas
Datasnap.DSClientRest.hpp
Datasnap.DSClientRest TDSRestClientChannel


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