[whatwg] Issues with Web Sockets API

On Tue, 7 Jul 2009, Michael Nordman wrote:
> >
> > I think when we add support for file upload, we'll make it so that it 
> > automagically supports this case. That is, you'll say "upload this 
> > file in small bits" and then if you later say "send this text 
> > message", the text message will be sent before any pending file bits. 
> > We can use a separate type of packet in the WebSocket stream to do 
> > this.
> 
> Sounds like that would require a protocol change. Is the message framing 
> spec'd in such a way that a new 'packet type' can be introduced in a 
> backward compatible fashion?

Yes.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 7 July 2009 14:10:34 UTC