[erlang-questions] BERT encoding and WebSocket

ngocdaothanh ngocdaothanh@REDACTED
Tue Apr 10 04:26:12 CEST 2012


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?



More information about the erlang-questions mailing list