W3C home > Mailing lists > Public > public-webrtc@w3.org > February 2012

Re: Data API Proposal aligned to WebSocket

From: Timothy B. Terriberry <tterriberry@mozilla.com>
Date: Fri, 24 Feb 2012 10:36:45 -0800
Message-ID: <4F47D8BD.2000400@mozilla.com>
CC: public-webrtc@w3.org
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:27 UTC