发布者发布消息的命令是 PUBLISH,用法是 PUBLISH channel message,如向 channel.1说一声“hi”: redis> PUBLISH channel.1 hi (integer) 0 这样消息就发出去了。
確定! 回上一頁