Skip to content
Long polling server for node.js
JavaScript
Latest commit 25b3b7a Oct 10, 2011 @ckhsponge error handling
Failed to load latest commit information.
.gitignore
LICENSE
Procfile
README.md
addons
broadcast.js
connection.js error handling Oct 10, 2011
json2.js versioned messages, json, callbacks Jun 8, 2011
long_noodle.js
package.json
test.html
web.js

README.md

Long Noodle

Long polling using Node.js

First get a heroku account. Then run the below commands.

gem install heroku
git clone git://github.com/ckhsponge/long-noodle.git
cd long-noodle
heroku create --stack cedar
git push heroku master
heroku config:add TOKEN=NOODLE
heroku ps:scale web=1

edit the file test.html at the bottom in the js replace 'long-noodle.herokuapp.com' with your server url e.g. 'stuffed-banana-69.herokuapp.com'

Open test.html in your browser and follow the instructions for sending a curl. You should see messages appear in real time in your browser!

Something went wrong with that request. Please try again.