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