Files
engine.io-client-java/README.md
Naoyuki Kanezawa 806d3c51f2 update README
2013-04-23 00:39:53 +09:00

812 B

Engine.IO-client.java

Build Status

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

Hello World

Engine.IO-client.java has the similar api with the client for js. You can use Socket to connect as follows:

Socket socket = new Socket("ws://localhost") {
  @Override
  public void onopen() {}

  @Override
  public void onmessage(String data) {}

  @Override
  public void onclose() {}
};
socket.open();

Features

This library supports all of the features the JS client does, except the Flash transport, including events, options and upgrage.

License

MIT