|
myMPD
Internal API documentation
|
websocket handling More...


Go to the source code of this file.
Functions | |
| void | websocket_send_notify (struct mg_mgr *mgr, struct t_work_response *response) |
| void | websocket_send_notify_client (struct mg_mgr *mgr, struct t_work_response *response) |
websocket handling
| void websocket_send_notify | ( | struct mg_mgr * | mgr, |
| struct t_work_response * | response | ||
| ) |
Broadcasts a message through all websocket connections for a specific or all partitions
| mgr | mongoose mgr |
| response | jsonrpc notification |
| void websocket_send_notify_client | ( | struct mg_mgr * | mgr, |
| struct t_work_response * | response | ||
| ) |
Sends a message through the websocket to a specific client We use the jsonprc id to identify the websocket connection
| mgr | mongoose mgr |
| response | jsonrpc notification |