Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
* HTML5 WebSockets
@ 2009-11-24 19:24 Eric Wong
       [not found] ` <20091124192430.GA4965-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2009-11-24 19:24 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

Hi all,

The Revactor/ThreadSpawn/ThreadPool concurrency models *should* already
support HTML5 WebSockets out-of-the-box right now with the respective
TeeInput (streaming "rack.input" support).  You'll probably want to make
sure the Rack::Chunked middleware is loaded for anything you run, but
other than that everything should work provided you have a working
client-side implementation...

I'm terrible at doing anything interactive on web browsers[1] and I
don't think any current browsers out there support WebSockets natively,
but there are ways to mimic it with JS libraries it seems.

If anybody can code anything up and put up a demo, that would be great.


I'll get around to adding a Fiber-based concurrency model which should
work with TeeInput, too.

[1] - guess why the bug tracker for this project is a mailing list :)

-- 
Eric Wong

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-11  7:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 19:24 HTML5 WebSockets Eric Wong
     [not found] ` <20091124192430.GA4965-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2009-12-10 23:32   ` Eric Wong
     [not found]     ` <20091210233236.GA23608-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2009-12-11  7:48       ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/rainbows.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).