REST.Backend.EMSProvider.TCustomEMSConnectionInfo.AppHandshake
Delphi
procedure AppHandshake(const ACallback: TEMSClientAPI.TAppHandshakeProc);
C++
void __fastcall AppHandshake(const Rest::Backend::Emsapi::TEMSClientAPI::_di_TAppHandshakeProc ACallback);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | REST.Backend.EMSProvider.pas REST.Backend.EMSProvider.hpp |
REST.Backend.EMSProvider | TCustomEMSConnectionInfo |
Description
Requests the version information of the EMS server and returns True if it receives the information successfully or False otherwise.
To handle the received information, you must provide a procedure of type TAppHandshakeProc (ACallback). AppHandshake calls your procedure and provides the received version information as a JSON object.
Exceptions
| Exception | Message | Description |
|---|---|---|
|
URLHost must not be blank |
The URLHost for connecting to the EMS Server can not be empty | |
|
URLProtocol must not be blank |
The URLProtocol for connecting to the EMS Server can not be empty |