Sinatra/Rack Sleep until Response Ready (like Exchange ActiveSync)

Posted by NilObject on Stack Overflow See other posts from Stack Overflow or by NilObject
Published on 2009-12-05T21:58:25Z Indexed on 2010/03/26 0:13 UTC
Read the original article Hit count: 673

Filed under:
|
|
|
|

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?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about sinatra