redis/subscribe

Subscribe to Channel

Listen for messages

pubsub
messaging

Command

SUBSCRIBE channel

Explanation

Subscribes the client to the specified channels.

Examples

Subscribe to news channel

SUBSCRIBE news