Fork me on GitHub
#immutant
<
2017-11-08
>
favila16:11:10

How does one control the type of received and sent messages over websockets? I want to send and receive either bytes or input/outputstreams of utf-8 text without going through strings.

favila16:11:49

if I send bytes or streams the websocket message tags it as bytes and the browser client gets a blob instead of a string

favila16:11:20

(also curious how, if I send/recv strings, the server knows what encoding to use)