php - Redis pubsub with Ratchet -


i have socket configured ratchet listen messages in client this:

var sock = new websocket("ws://localhost:2000"); sock.onmessage = new function(evt){   //listen redis subscribe } sock.onopen ..  sock.onclose .. 

i trying connect redis pubsub channel , listen messages. know how subscribe redis channel in php trying figure out how configure ratchet's onmessage listen redis' subscribe. possible modify ratchet listen redis subscribe on channel? there documentation read on? not find information online. advice appreciated.

there's asynchronous redis client build on react allows assign callbacks redis pubsub in non-blocking way. works ratchet.

take close @ github: predis/async.


Comments

Popular posts from this blog

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -