Skip to content
This repository

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 addons
Octocat-spinner-32 broadcast.js
Octocat-spinner-32 connection.js
Octocat-spinner-32 json2.js
Octocat-spinner-32 long_noodle.js
Octocat-spinner-32 package.json
Octocat-spinner-32 test.html longer onready July 05, 2011
Octocat-spinner-32 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.