Skip to content

Apps to Core communication protocol

Jason Shin edited this page Sep 5, 2017 · 11 revisions

The communication protocol is based on WebSocket at the moment with Socket.io support. Apps to Core messages have guaranteed destination, which is the core server. Core to Apps communication is using socket.io broadcasting feature. Core broadcasts a message using a unique id to all the apps and it is apps' responsibility to be able to pick up the messages (idea reviewing required).

Apps to Core communication

Name Description Key: string Values
Register App Signals core to register current app to the database REGISTER_APP jump
Incoming action App received a message from external source INCOMING_MESSAGE jump
Ping Pings the core to check uptime PING jump
Clone this wiki locally