c7d50b8ae9787e9ebdff50aa5d36f88433fc50b9
Syntax:
```java
socket.onAnyIncoming(new Emitter.Listener() {
@Override
public void call(Object... args) {
// ...
}
});
socket.onAnyOutgoing(new Emitter.Listener() {
@Override
public void call(Object... args) {
// ...
}
});
```
Related:
- https://github.com/socketio/engine.io-client-java/issues/99
- https://github.com/socketio/socket.io-client-java/issues/243
- https://github.com/socketio/socket.io-client-java/issues/475
Socket.IO-client Java
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
Languages
Java
97.8%
JavaScript
2%
Makefile
0.2%