YouTip LogoYouTip

Pub Sub Unsubscribe

# Redis Unsubscribe Command * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0)) Redis Tutorial (#)(#)(#)(#)(#) ## Redis Commands (#)(#)(#)(#)(#)(#)(#)(#)[Redis Pub/Sub](#)(#)(#)(#)(#)(#)(#) ## Redis Advanced Tutorial [Redis Data Backup & Recovery](#)(#)(#)(#)(#)(#)(#)(#) [](#)(#) (#)[](#) Deep Dive Programming Web Services Scripting Languages Computer Science Software Development Tools Programming Languages Web Design & Development Scripts Web Service # Redis Unsubscribe Command !(#)[Redis Pub/Sub](#) The Redis Unsubscribe command is used to unsubscribe from one or more given channels. ### Syntax The basic syntax for the Redis Unsubscribe command is as follows: redis 127.0.0.1:6379> UNSUBSCRIBE channel [channel ...] ### Available Since >= 2.0.0 ### Return Value This command behaves differently across different clients. ### Example redis 127.0.0.1:6379> UNSUBSCRIBE mychannel 1) "unsubscribe"2) "a"3) (integer) 0 !(#)[Redis Pub/Sub](#)
← Connection EchoScripting Script Load β†’