HeimgardTechnologiesAS / cordova-plugin-advanced-websocket

MIT License
27 stars 18 forks source link

Support for ArrayBuffers #15

Closed jq-rs closed 5 years ago

jq-rs commented 5 years ago

Currently Advanced WebSocket plugin supports only String format of messages. Support for ArrayBuffer-type would complete the plugin for generic use.

This is a standard feature of common browsers and set with command: webSocket.binaryType = "arraybuffer";

Thanks!

chax commented 5 years ago

You are right, this websocket client works only with strings. I'm not sure i have time to fix this very soon but feel free to submit PR with your solution, i will gladly review it and if it's good merge it.

jq-rs commented 5 years ago

Thanks! It seems I don't need it at the moment, so closing this one.