Skip to content

Commit

Permalink
new release
Browse files Browse the repository at this point in the history
  • Loading branch information
issotina committed Sep 15, 2017
1 parent 96c02f3 commit 3bbfa2f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion websockets/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**Android webSocket client for Ratchet Server** http://socketo.me/
Android webSocket client for [Ratchet Server](http://socketo.me/)
This android library use autobahn-java https://github.com/crossbario/autobahn-java

Installation
20 changes: 16 additions & 4 deletions websockets/src/main/java/com/craftsman/websockets/Ws.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,30 @@ public interface Ws {

/**
*
* @param channelPath
* @param text
*/
void send(String channelPath,String text);
void send(String text);


/**
*
* @param channelPath
* @param binary
*/
void send(String channelPath,byte[] binary);
void send(byte[] binary);


/**
*
* @param channelPath
* @param o
*/
void send(String channelPath,Object o);


/**
*
*/
void end();

/**
*
Expand Down

0 comments on commit 3bbfa2f

Please sign in to comment.