UNSUBSCRIBE
Since 1.1.0Pub/Sub
Syntax
UNSUBSCRIBE [channel ...]Unsubscribes this connection from channels, or from all of them if none is given.
Reply
- For each channel, an acknowledgement:
unsubscribe, the channel, and how many subscriptions the connection has left. At0, the connection can send any command again.
Examples
> UNSUBSCRIBE news
1) "unsubscribe"
2) "news"
3) (integer) 2