update README and History
This commit is contained in:
@@ -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
|
0.3.1 / 2014-11-04
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|||||||
14
README.md
14
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)
|
See also: [Socket.IO-client.java](https://github.com/nkzawa/socket.io-client.java)
|
||||||
|
|
||||||
## Installation
|
## 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
|
```xml
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.nkzawa</groupId>
|
<groupId>com.github.nkzawa</groupId>
|
||||||
<artifactId>engine.io-client</artifactId>
|
<artifactId>engine.io-client</artifactId>
|
||||||
<version>0.3.1</version>
|
<version>0.4.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
```
|
```
|
||||||
|
|
||||||
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
|
## Usage
|
||||||
Engine.IO-client.java has the similar api with the JS client. You can use `Socket` to connect:
|
Engine.IO-client.java has the similar api with the JS client. You can use `Socket` to connect:
|
||||||
|
|||||||
Reference in New Issue
Block a user