Redis Pub/Sub: PUNSUBSCRIBE
PUNSUBSCRIBE [pattern [pattern ...]]
Redis PUNSUBSCRIBE command is used to unsubscribe the client from the given patterns, or from all of them if none is given. When no patterns are specified, the client is unsubscribed from all the previously subscribed patterns.
Syntax:
PUNSUBSCRIBE [pattern [pattern ...]]
Available since
2.0.0.
Return Value
Array reply.
Return Value Type
Array
Example: Redis PUNSUBSCRIBE
redis 127.0.0.1:6379> PUNSUBSCRIBE mychannel 1) "punsubscribe" 2) "a" 3) (integer) 1
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework