socketio / socket.io-client-java

Full-featured Socket.IO Client Library for Java, which is compatible with Socket.IO v1.0 and later.
https://socketio.github.io/socket.io-client-java/installation.html
Other
5.32k stars 972 forks source link

Different data formats sent by `emit` #708

Open PavloZoria opened 2 years ago

PavloZoria commented 2 years ago

I compare events that we are trying to emit from the client side to the backend. After comparing these samples:

Android version of sample request caused because Socke.IO puts event and data to the JSONArray. And after parsing the JSONArray it puts all entries as a string

Can it be handled on the server-side(for example just to edit some configuration) or do we require updates from the Socket.IO library?

Thanks in advance!