Skip to content

Commit 0254aa9

Browse files
authored
Update README.md
1 parent 96c02f3 commit 0254aa9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,16 @@ Credit : This android library use [Autobahn-java](https://github.com/crossbario/
6565
}
6666
       });
6767
```
68+
### 2 - Send data to server
6869

70+
```java
71+
ws.send("Hello World");
72+
```
73+
or send to specific channel
74+
75+
```java
76+
ws.send("path/to/channel","Hello Channel");
77+
```
6978
License
7079
-------
7180

0 commit comments

Comments
 (0)