Created frontend.ready (markdown)

ni-richard 2019-09-13 23:49:49 +02:00
parent 9fbb3be53b
commit 96db172d8e

30
frontend.ready.md Normal file

@ -0,0 +1,30 @@
### Request
* **Description**: The frontend signals that it has loaded everything and is waiting for the config keys.
* **Subscribers**: [FrontendConfigHandler](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/FrontendConfigHandler)
```json
{
"key": "frontend.ready",
"intent": "control",
"scope": "zmq"
}
```
***
**Example**: Same as above, does not have additional parameters.
### Response
* **Description**: After sending out every config key, the backend answers with the same message to indicate that the user may interact with the site now.
* **Subscribers**: *(none)*
```json
{
"key": "frontend.ready",
"scope": "websocket"
}
```
***
**Example**: Same as above, does not have additional parameters.