Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

This branch is 718 commits ahead, 2795 commits behind tornadoweb:master

..
Failed to load latest commit information.
README Added note about numeric channel names in redis
redisdemo.py review, +updates

README

Test basic redis functionality

  Set: curl -D - -d "value=hello world" http://localhost:8888/text/foobar
  Get: curl -D - http://localhost:8888/text/foobar


Test redis pubsub feature (redis 2.x)

  Subscribe to channels or patterns:
  curl -D - http://localhost:8888/queue/foo.*,msgs,l33t

  Send messages to channels:
  curl -D - -d "message=hello world" http://localhost:8888/queue/foo.bar
  curl -D - -d "message=yes, we can" http://localhost:8888/queue/l33t

NOTE
----

1. It is recommned not to use numeric channel names. The QueueHandler will
get the channel as integer while at other places it would be string.
If you still want to use numeric channel name, make sure you cast the 
name to str to avoid any issues.
Something went wrong with that request. Please try again.