update README
This commit is contained in:
16
README.md
16
README.md
@@ -3,10 +3,16 @@
|
|||||||
|
|
||||||
This is the Socket.IO v1.x Client Library for Java, which is simply ported from the [JavaScript client](https://github.com/Automattic/socket.io-client).
|
This is the Socket.IO v1.x Client Library for Java, which is simply ported from the [JavaScript client](https://github.com/Automattic/socket.io-client).
|
||||||
|
|
||||||
See also: [Engine.IO-client.java](https://github.com/nkzawa/engine.io-client.java)
|
See also:
|
||||||
|
|
||||||
|
- [Android chat demo](https://github.com/nkzawa/socket.io-android-chat)
|
||||||
|
- [engine.io-client.java](https://github.com/nkzawa/engine.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/socket.io-client.java/blob/master/pom.xml).
|
||||||
|
|
||||||
|
### Maven
|
||||||
|
Add the following dependency to your `pom.xml`.
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@@ -18,10 +24,10 @@ The latest artifact is available on Maven Central. Add the following dependency
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
```
|
```
|
||||||
|
|
||||||
Or to install it manually, please refer dependencies to [pom.xml](https://github.com/nkzawa/socket.io-client.java/blob/master/pom.xml).
|
### Gradle
|
||||||
|
|
||||||
Add it as a gradle dependency for Android Studio, in build.gradle:
|
Add it as a gradle dependency for Android Studio, in `build.gradle`:
|
||||||
```javascript
|
```groovy
|
||||||
compile 'com.github.nkzawa:socket.io-client:0.3.0'
|
compile 'com.github.nkzawa:socket.io-client:0.3.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user