-
Notifications
You must be signed in to change notification settings - Fork 1
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).
Name | Description | Key: string | Values: JSON |
---|---|---|---|
Register App | Signals core to register current app to the database | REGISTER_APP | { name: string, label: string, description: string, instructions: string, icon: string, incomingActions: json, outgoingActions: json } |
|