参考资料: http://redis.io/topics/pubsub3订阅Subscribe127.0.0.1:6379> SUBSCRIBE "muc-1" // muc-1 为channel号Reading messages... (press Ctrl-C to quit)// 从 redis 服务端返回的订阅结果1) "subscribe"2) "muc-1
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号