Proxy
- GET /socket/proxy
This creates a persistent connection.
The initial requests on this socket should contain a
User-Agentheader in the formatname/version. Theversionpart of the string will be shown to the user as the proxy version.When machines are modified or deleted, Event bus object messages will also be sent to clients on this socket.
Each JSON object received by the server from this socket will be processed as as single machine update. These messages should contain:
machine_idfield containing the ID of the machine the update is forsrcfield set toncortmacstatefield with an object following the Machine update format