Redis Pub/Sub: UNSUBSCRIBE
UNSUBSCRIBE [channel [channel ...]]
Redis UNSUBSCRIBE command is used to unsubscribe the client from the given channels, or from all of them if none is given.
Syntax:
UNSUBSCRIBE channel [channel ...]
Available since
2.0.0.
Return Value
Array reply.
Return Value Type
Array
Example: Redis UNSUBSCRIBE
redis 127.0.0.1:6379> UNSUBSCRIBE mychannel 1) "unsubscribe" 2) "a" 3) (integer) 0
Previous:
SUBSCRIBE
Next:
Redis Transactions DISCARD
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics