SUBSCRIBE channel [channel ...]
Available since 2.0.0.
Time complexity: O(N) where N is the number of channels to subscribe to.
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 and PUNSUBSCRIBE commands.
© 2009–2018 Salvatore SanfilippoLicensed under the Creative Commons Attribution-ShareAlike License 4.0.