sacOO7 / socketcluster-client-java

Native java and android client for socketcluster framework in node.js
http://socketcluster.io/
Apache License 2.0
94 stars 42 forks source link

equivalent of send function for sending raw binary data #15

Closed cogmeta closed 6 years ago

cogmeta commented 6 years ago

Is send (or equivalent method) available in android client for sending raw binary data? The web client has socket.send method to send binary data which is available in raw event on server. If not, what is the best way to send raw binary data using android client?

cogmeta commented 6 years ago

Using base64 encoding to send as string for now. Don't see any noticeable performance issue due to decoding and encoding...closing it for now. Will release it back if we end up implementing.

XDex commented 6 years ago

@cogmeta see my fork with binary Socketcluster codecs support: https://github.com/XDex/socketcluster-client-java