Handshake

Once logged into your service, you will receive a "handshake" type message from it, with the following structure :

handshakeService -> All
   {
       "type" : "handshake",
       "name" : "serveur_x",
       "version" : "v1.1",
       "revision" : "233"
   }

Not only does it confirm the connection to the server/host, but the informations countained in the handshake also provide the confirmation of the good identity of the service if a problem occures.

API connection address :

TCP : golem.ai:3003
Web Socket : golem.ai:3004/ws
Web Socket Sécurisé (WSS) : golem.ai:3005/ws
HTTP : golem.ai:3004/http
HTTPS : golem.ai:3005/http