AttentionThis page documents an earlier version. Go to the latest (v2.3) version.
SUBSCRIBE channel [channel ...]
This command subscribes the client to the specified channel(s). The client will receive a message whenever a publisher sends a message to any of the channels that it has subscribed to.