Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
issotina committed Sep 15, 2017
2 parents 3bbfa2f + cb9ac36 commit 12beac2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Credit : This android library use [Autobahn-java](https://github.com/crossbario/
### 2 - Add the dependency
```groovy
dependencies {
compile 'com.github.geeckmc:WebSocketAndroidClient:0.0.1'
compile 'com.github.geeckmc:WebSocketAndroidClient:0.0.2'
}
```

Expand Down Expand Up @@ -65,7 +65,16 @@ Credit : This android library use [Autobahn-java](https://github.com/crossbario/
}
       });
```
### 2 - Send data to server

```java
ws.send("Hello World");
```
or send to specific channel

```java
ws.send("path/to/channel","Hello Channel");
```
License
-------

Expand Down

0 comments on commit 12beac2

Please sign in to comment.