Closed gabzim closed 7 years ago
for instance using: https://github.com/socketio/socket.io-redis
Answer:
// ... import * as socketRedis from "socket.io-redis"; let app = new koa(); let io = new IO(); io.attach(app); app._io.adapter(socketRedis({ host: <REDIS_HOST>, port: <REDIS_PORT> }));
for instance using: https://github.com/socketio/socket.io-redis