Damien Arrachequesne fca3b9507d feat: emit with timeout
This feature allows to send a packet and expect an acknowledgement from
the server within the given delay.

Syntax:

```java
socket.emit("hello", "world", new AckWithTimeout(5000) {
    @Override
    public void onTimeout() {
        // ...
    }

    @Override
    public void onSuccess(Object... args) {
        // ...
    }
});
```

Related:

- https://github.com/socketio/socket.io-client-java/issues/309
- https://github.com/socketio/socket.io-client-java/pull/517
2022-07-08 19:46:18 +02:00
2020-12-17 16:01:50 +01:00
2022-07-08 19:46:18 +02:00
2013-04-29 01:55:13 +09:00
2013-04-29 01:55:13 +09:00
2020-12-16 00:17:43 +01:00

Socket.IO-client Java

Build Status

This is the Socket.IO Client Library for Java, which is simply ported from the JavaScript client.

See also:

Table of content

Compatibility

Client version Socket.IO server
0.9.x 1.x
1.x 2.x
2.x 3.x / 4.x

Documentation

The documentation can be found here.

The source of this documentation is in the src/site/ directory of the repository. Pull requests are welcome!

License

MIT

Description
Full-featured Socket.IO Client Library for Java, which is compatible with Socket.IO v1.0 and later.
Readme MIT 771 KiB
Languages
Java 97.8%
JavaScript 2%
Makefile 0.2%