summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/subscribe.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/subscribe.md')
-rw-r--r--iredis/data/commands/subscribe.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/iredis/data/commands/subscribe.md b/iredis/data/commands/subscribe.md
new file mode 100644
index 0000000..997670c
--- /dev/null
+++ b/iredis/data/commands/subscribe.md
@@ -0,0 +1,5 @@
+Subscribes the client to the specified channels.
+
+Once the client enters the subscribed state it is not supposed to issue any
+other commands, except for additional `SUBSCRIBE`, `PSUBSCRIBE`, `UNSUBSCRIBE`,
+`PUNSUBSCRIBE`, `PING` and `QUIT` commands.