socket.io-redis-with-shared

0.1.10 • Public • Published

socket.io-redis-with-shared

Socket.io Redis adapter with shared memory

It same as normal socket.io-redis adapter.

But have 1 feature. It allow to create a shared objects between instances. To share any data you could use:

socket.adapter.shared.someVar = "someValue";
socket.adapter.sync();

/socket.io-redis-with-shared/

    Package Sidebar

    Install

    npm i socket.io-redis-with-shared

    Weekly Downloads

    13

    Version

    0.1.10

    License

    none

    Last publish

    Collaborators

    • kos