Description: The update event is used to receive real-time data update and market/event change notification
Request:
The server emits the following event to request sports data:
socket.on("update", (response) => {
// Handle the response here
console.log(response);
});
- Callback: The response is handled in the callback function once the server responds.
✅ Event Callback
{
"event": {
"eid": 34267069,
"si": 4
}
}
✅ Market Callback
{
"market": {
"mid": "mid",
"eid": 34267069,
"si": 1
}
}
Note : Only the above response will be send respectively to identify the event or market which is updated. No Additional keys will be provided.