// Sends a string to the server. socket.send("Hello Server"); // Sends a JSON object to the server. socket.send(new JSONObject().put("key", "value").put("key2 ...
Supports Socket.IO clients version 1.0+ Requires JSR 356-compatible server (tested with Jetty 9 and Tomcat 8) Right now only websocket and XHR polling transports are implemented. Default websocket ...