Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Long polling server for node.js
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore post version, include createdAt
LICENSE
Procfile
README.md readme
addons 25s timeout
broadcast.js
connection.js
json2.js
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.