You can specify an id to mark your request, and it will be your reference for response.
{
"action": "sub",
"subscriptions": [
{"channel": "book", "market": "btctwd", "depth": 1},
{"channel": "trade", "market": "btctwd"}
],
"id": "client1"
}
{
"e": "subscribed",
"s": [
{"channel": "book", "market": "btctwd", "depth": 1},
{"channel": "trade", "market": "btctwd"}
],
"i": "client1",
"T": 123456789
}
{
"action": "unsub",
"subscription": [
{"channel": "book", "market": "btctwd", "depth": 1},
{"channel": "trade", "market": "btctwd" }
]
"id": "client1"
}
{
"e": "unsubscribed",
"s": [
{"channel": "book", "market": "btctwd", "depth": 1},
{"channel": "trade", "market": "btctwd"}
],
"i": "client1",
"T": 123456789
}