Redis Unsubscribe コマンド
Redis Unsubscribe コマンドは、指定された1つ以上のチャンネルの購読を解除するために使用されます。
構文
redis Unsubscribe コマンドの基本構文は次のとおりです:
redis 127.0.0.1:6379> UNSUBSCRIBE channel [channel ...]
利用可能なバージョン
>= 2.0.0
戻り値
このコマンドは、クライアントによって動作が異なります。
実例
redis 127.0.0.1:6379> UNSUBSCRIBE mychannel 1) "unsubscribe" 2) "a" 3) (integer) 0
その他の拡張機能