From the "1.x" branch.
- ensure buffered events are sent in order (8bd35da)
- ensure randomizationFactor is always between 0 and 1 (cb966d5)
- ensure the payload format is valid (8664499)
- fix usage with ws:// scheme (e57160a)
- increase the readTimeout value of the default OkHttpClient (2d87497) (from
engine.io-client
)
- ensure randomizationFactor is always between 0 and 1 (0cbf01e)
- prevent socket from reconnecting after middleware failure (95ecf22)
- increase the readTimeout value of the default OkHttpClient (fb531fa) (from
engine.io-client
)
- 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) {
// ...
}
});
- fix usage with ws:// scheme (67fd5f3)
- ensure buffered events are sent in order (4885e7d)
- ensure the payload format is valid (e8ffe9d)
- emit a CONNECT_ERROR event upon connection failure (d324e7f)
- don't process socket.connect() if we are already re-connecting (#577) (54b7311)
- handle case where URI.getHost() returns null (#484) (567372e)
- compatible with socket.io 2.0.x
- update engine.io-client
- custom encoder/decoder support
- fix socket id
- compatible with socket.io 1.7.4
- bump engine.io-client
- send query on connect
- bump
engine.io-client
- bump
engine.io-client
- bump
engine.io-client
- bump
engine.io-client
- README: fix typos [kylestev, lu-zero]
- test: use TLSv1
- compatible with socket.io 1.4.5
- bump
engine.io-client
- fix event type when emitting ack with binary data [cirocosta]
- don't reuse same namespace connections
- fix handling of disconnection while in
opening
state - add ping and pong events
- improve cleanup on
Manager
- bump
engine.io-client
. - fix back-off calculation
- code quality improvements [civanyp]
- compatible with socket.io 1.3.7
- bump
engine.io-client
- fix wrong reconnection state
- change package name to "io.socket"
- bump
engine.io-client
.
- make Socket.events protected [icapurro]
- fix readyState check on Manager#open
- change IO.socket(URI) not to throw URISyntaxException
- bump
engine.io-client
. - fix timeout option
- fix NullPointerException on ack
- bump
engine.io-client
. - enhance parser decode [niqo01]
- add a wrong event name check
- add setDefaultHostnameVerifier method
- fix error on reconnection attemps
- bump
engine.io-client
. - fix program doesn't terminate when closing socket before eatablishing connection.
- compatible with socket.io 1.3.2
- bump
engine.io-client
. - added
Socket#id()
pointing to session id - add exponential backoff with randomization
- reset reconnection attempts state after a successul connection
- fix binary arguments in emit with ack [AlfioEmanueleFresta]
- compatible with socket.io 1.2.0
- bump
engine.io-client
. - fix reconnection after reconnecting manually
- enable to stop reconnecting
- enable to reconnect manually
- add
Socket#connected()