socket.io-client-java icon indicating copy to clipboard operation
socket.io-client-java copied to clipboard

Client emit or send, nothing cames to server #790

Open marktech0813 opened this issue 1 month ago • 0 comments

I added a defensive improvement and documentation to address your issue.

  • In Socket.emit(...), the client now logs a warning if you emit a JSON-looking string (e.g., "{...}" or "[...]"), prompting you to send a JSONObject/JSONArray instead.
  • In src/site/markdown/emitting_events.md, I documented this pitfall with a “wrong vs correct” example.

marktech0813 avatar Nov 11 '25 00:11 marktech0813