summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/unsubscribe.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/unsubscribe.md')
-rw-r--r--iredis/data/commands/unsubscribe.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/iredis/data/commands/unsubscribe.md b/iredis/data/commands/unsubscribe.md
new file mode 100644
index 0000000..78c4d0c
--- /dev/null
+++ b/iredis/data/commands/unsubscribe.md
@@ -0,0 +1,6 @@
+Unsubscribes the client from the given channels, or from all of them if none is
+given.
+
+When no channels are specified, the client is unsubscribed from all the
+previously subscribed channels. In this case, a message for every unsubscribed
+channel will be sent to the client.