Documentation Index
Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt
Use this file to discover all available pages before exploring further.
Unsubscribe
Cancel subscription to one or more channelsUnsubscribe Message Format
{"action": "unsubscribe", "args": ["<topic>"]}
Parameter Instruction
action= unsubscribeargs= The content of the args array is the subscribed topictopicis composed of<channel>:<filter>- channel is composed of business/name
- filter can filter data, refer to the description of each channel for details
Example
-
Send message to WOO X Pro server
{"action": "unsubscribe", "args": ["futures/klineBin1m:BTCUSDT"]} -
The WOO X Pro server returns the subscription result, success=true means the subscription is successful
{"action":"unsubscribe","group":"futures/klineBin1m:BTCUSDT","success":true,"request":{"action":"unsubscribe","args":["futures/klineBin1m:BTCUSDT"]}}