Re: Data API Proposal aligned to WebSocket

Michael Tuexen wrote:
> I think with open a channel and can transfer all of the three over a channel. So it is
> not a property of the channel, but of the message. There are three send calls:
>     void send(DOMString data);
>     void send(ArrayBuffer data);
>     void send(Blob data);
> as far as I understand the stuff right now...

Just a reminder, for parity with WebSockets, those three send calls 
should only map to two different on-the-wire message types (text and 
binary). The application would then decide whether it wants binary 
messages delivered as ArrayBuffers or Blobs.

Received on Friday, 24 February 2012 18:38:29 UTC