mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 18:31:33 +00:00
Created frontend.ready (markdown)
parent
9fbb3be53b
commit
96db172d8e
30
frontend.ready.md
Normal file
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.
|
Loading…
Reference in New Issue
Block a user