No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
README
channel.js
package.json
rede.html
rede.js
socket.io.js

README

Getting starting:

# Configuring
# Custom               #  Default
process.env.REDIS_HOST #  localhost
process.env.REDIS_PORT #  6379
process.env.PORT       #  8080

# Running
npm install rede
Start redis-client
node bin/rede.js

# Using
# All requests are in JSON.
Subscribe:   { to: 'mychannel', state: 'available'   }
Unsubscribe: { to: 'mychannel', state: 'unavailable' }
Publish:     { to: 'mychannel', body:  'my message'  }