I'm wanting to do a lightweight push-style HTTP response in my existing Sinatra web app. Is there any mechanism that allows me to not respond to an HTTP request and keep the connection open until I wake up the connection at a future time?
+1
A:
Could this help ? http://macournoyer.com/blog/2009/06/04/pusher-and-async-with-thin/
Michael Neale
2009-12-05 22:01:42
Looks like it could be the ticket, I'll play around with it :)
NilObject
2009-12-06 03:06:31
+1
A:
You could also check out macournoyer's http://github.com/macournoyer/pusher "The Rack App that pushes" and collin's http://github.com/collin/orbited-ruby/
pmh
2009-12-06 10:58:56