diff --git a/History.md b/History.md index 8c0669c..ffe41e4 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,11 @@ +0.4.0 / 2015-01-25 +================== + +* compatible with engine.io 1.5.1 +* fix default port detection when host is specified +* add `Socket#id()` for retrieving `id` +* make `Socket.priorWebsocketSuccess` private + 0.3.1 / 2014-11-04 ================== diff --git a/README.md b/README.md index a6f3942..869d0ea 100644 --- a/README.md +++ b/README.md @@ -6,19 +6,27 @@ This is the Engine.IO Client Library for Java, which is simply ported from the [ See also: [Socket.IO-client.java](https://github.com/nkzawa/socket.io-client.java) ## Installation -The latest artifact is available on Maven Central. Add the following dependency to your `pom.xml`. +The latest artifact is available on Maven Central. To install manually, please refer dependencies to [pom.xml](https://github.com/nkzawa/engine.io-client.java/blob/master/pom.xml). + +### Maven +Add the following dependency to your `pom.xml`. ```xml com.github.nkzawa engine.io-client - 0.3.1 + 0.4.0 ``` -Or to install it manually, please refer dependencies to [pom.xml](https://github.com/nkzawa/engine.io-client.java/blob/master/pom.xml). +### Gradle +Add it as a gradle dependency for Android Studio, in `build.gradle`: + +```groovy +compile 'com.github.nkzawa:engine.io-client:0.4.0' +``` ## Usage Engine.IO-client.java has the similar api with the JS client. You can use `Socket` to connect: