Description: This event is used to unsubscribe from a market room, stopping live odds updates.
Request: Unsubscribe from Market
The client emits a request to unsubscribe from one or more market rooms.
Emit:
"4.355663286183-F2,1.246351472"
data: A comma-separated list of market IDs to unsubscribe from.
Callback Response: Unsubscribe from Market
The server responds with a confirmation message.
{
"message": "Unsubscribed to market: 4.355663286183-F2,1.246351472",
"status": 1
}
Glossary of Response:
| Key | Description |
|---|---|
message |
A confirmation message indicating successful unsubscription. |
status |
The status of the request (1 = success). |