REST.Backend.EMSApi.TEMSClientAPI.AppHandshake
Delphi
procedure AppHandshake(const AJSONArray: TJSONArray); overload;
procedure AppHandshake(const AProc: TAppHandshakeProc); overload;
C++
void __fastcall AppHandshake(System::Json::TJSONArray* const AJSONArray)/* overload */;
void __fastcall AppHandshake(const _di_TAppHandshakeProc AProc)/* overload */;
Inhaltsverzeichnis
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet | 
|---|---|---|---|---|
procedure function  | 
		public | REST.Backend.EMSApi.pas REST.Backend.EMSApi.hpp  | 
        REST.Backend.EMSApi | TEMSClientAPI | 
Beschreibung
Fordert die Versionsinformationen des EMS-Servers an und gibt True zurück, wenn die Informationen erfolgreich empfangen wurden; ansonsten wird False zurückgegeben.
Stellen Sie für die weitere Behandlung der empfangenen Informationen entweder das folgende Array oder die folgende Prozedur bereit:
- Ein JSON-Array (
AJSONArray), damit AppHandshake das empfangene JSON-Objekt an dieses JSON-Array anhängt. - Eine Prozedur mit dem Typ TAppHandshakeProc (
AProc). AppHandshake ruft Ihre Prozedur auf und stellt die empfangenen Versionsinformationen als JSON-Objekt bereit. 
Exceptions
| Exception | Meldung | Beschreibung | 
|---|---|---|
| 
 MasterSecret erforderlich  | 
 Authentication ist TAuthentication.MasterSecret und ConnectionInfo.MasterSecret ist ein leerer String.  | |
| 
 Sitzungs-Token erforderlich  | 
 Authentication ist TAuthentication.Session, und Sie haben sich nicht angemeldet oder das bei der Anmeldung (Login) angegebene Sitzungsauthentifizierungs-Token ist ein leerer String.  |