Re: Sending very large chunks over the data channel

> If you have a suggestion to bridge the gap, please bring it forward.

What about a flag to allow to choose what mode to use, message-based
or streams-based? Something like the binaryType flag... I know that
the binaryType detect automatically when you are sending binary data
or text data and the strems-message should be done manually (maybe
not?), but would allow both to co-exist. Then, it's only up to modify
the WebSocket protocol to allow to send stream data, maybe it's just
enough by adding a new frame packet to the spec and send inside them
the stream data chunked at a frame level...

If you are interested, http://binaryjs.com allow to send stream data
over websockets, would be useful to take ideas...


-- 
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux

Received on Wednesday, 28 May 2014 09:37:16 UTC