[erlang-questions] BERT encoding and WebSocket

Antoine Koener antoine.koener@REDACTED
Tue Apr 10 16:17:31 CEST 2012


Here's a link: http://autobahn.ws/testsuite/reports/clients/index.html

:-)

On Tue, Apr 10, 2012 at 3:54 PM, Antoine Koener
<antoine.koener@REDACTED> wrote:
> Are you sure that websockets does not support binary data ?
>
> The data type is "blob", or "arraybuffer".
>
> See w3c for more information.
>
> (sorry for not giving you Uris about that, I'm conferencing :))
>
> --
> Was in mobile mode ...
>
> On 10 avr. 2012, at 04:26, ngocdaothanh <ngocdaothanh@REDACTED> wrote:
>
>> What is the best way to use BERT encoding (http://bert-rpc.org/) with
>> WebSocket?
>>
>> BERT is binary but WebSocket does not support binary at this moment.
>> Should I use base64 to encode BERT binary to normal string? Base64 has
>> 33% overhead (http://en.wikipedia.org/wiki/Base64). How much space can
>> BERT save compared to JSON?
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list