Demo of Sockets API for Google App Engine
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


You can either run this on the local dev_appserver or you can deploy it. Once running, you can fetch values with GETs. This method uses r.get() to retrieve values from the remote Redis installation:

$ curl -w '\n' ''                        
igor="IT WORKS!"<br>                                                        

Use PUT to add/update values. This method uses r.set():

$ curl -w '\n' '' -X PUT -d 'proj=treadstone' 
$ curl -w '\n' ''                   
proj="treadstone"<br>igor="IT WORKS!"<br>                                   

Use DELETE - r.delete() - to remove values:

$ curl -w '\n' '' -X DELETE              
$ curl -w '\n' ''