2.1.0 (2022-07-10)
Bug Fixes
Features
- emit with timeout (fca3b95)
This feature allows to send a packet and expect an acknowledgement from the server within the given delay.
Syntax:
socket.emit("hello", "world", new AckWithTimeout(5000) { @Override public void onTimeout() { // ... } @Override public void onSuccess(Object... args) { // ... } });
- implement catch-all listeners (c7d50b8)
Syntax:
socket.onAnyIncoming(new Emitter.Listener() { @Override public void call(Object... args) { // ... } }); socket.onAnyOutgoing(new Emitter.Listener() { @Override public void call(Object... args) { // ... } });
2.0.1 (2021-04-27)
Bug Fixes
2.0.0 (2020-12-14)
Features
- add options builder (#304) (49068d3)
- add support for Socket.IO v3 (79cb27f), closes /github.com/socketio/socket.io-protocol#difference-between-v5-and-v4