xyncro / freya

Freya Web Stack - Meta-Package
https://freya.io
Other
331 stars 30 forks source link

Support web sockets #93

Open kolektiv opened 9 years ago

kolektiv commented 9 years ago

Come up with a decent design/library for supporting web sockets. Not totally sure how they should be mounted/maintained in terms of routing - they're not really something that fits as a pipeline? But yeah, would be good to have pretty soon in some form.

panesofglass commented 9 years ago

I think we just have to model the protocol upgrade from HTTP.

panesofglass commented 9 years ago

What do you think, 1.0 or 1.1? Perhaps 1.0 for handling the upgrade? If so, I think we would also want to do something about HTTP Streaming and Server-sent events. I found this resource helpful. My current vote is to push this to 1.*.

kolektiv commented 9 years ago

Yeah 1.1 is probably sane, I'd probably be hopeful of calling what's there now 1.0 I think, and new features go in to further releases. I think it's pretty close to sane, and there's no reason we can't stick to semver and develop from a 1.0 soon.

On 4 May 2015 at 21:12, Ryan Riley notifications@github.com wrote:

What do you think, 1.0 or 1.1? Perhaps 1.0 for handling the upgrade? If so, I think we would also want to do something about HTTP Streaming and Server-sent events. I found this resource http://enterprisewebbook.com/ch8_websockets.html helpful. My current vote is push this to 1.*.

— Reply to this email directly or view it on GitHub https://github.com/freya-fs/freya/issues/93#issuecomment-98835899.

panesofglass commented 9 years ago

Sure! Let's nail down some docs and present it to the world!

panesofglass commented 9 years ago

This needs two parts: the pipeline piece and the machine extension.