nightlife-rabbit
nightlife-rabbit copied to clipboard
Saving to redis database
Thanks a lot for the nice WAMP server. Can anyone explain how to connect the redis-server to any operation publish/subscribe on any topic?
In example secure-nightlife-server.js topic must be set:
session.subscribe('com.example.time', function () {})
session.publish('com.example.time', [new Date().getTime()]);
But how to save all topics to the database?