File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ Check out the full example server https://github.com/NaikSoftware/stomp-protocol
6565
6666** Basic usage**
6767``` java
68+ import org.java_websocket.WebSocket ;
69+
6870 private StompClient mStompClient;
6971
7072 // ...
@@ -89,7 +91,8 @@ See the full example https://github.com/NaikSoftware/StompProtocolAndroid/tree/m
8991Method ` Stomp.over ` consume class for create connection as first parameter.
9092You must provide dependency for lib and pass class.
9193At now supported connection providers:
92- - WebSocket.class ('org.java-websocket:Java-WebSocket:1.3.0')
94+ - ` org.java_websocket.WebSocket.class ` ('org.java-websocket:Java-WebSocket:1.3.0')
95+ - ` okhttp3.WebSocket.class ` ('com.squareup.okhttp3:okhttp:3.8.0')
9396
9497You can add own connection provider. Just implement interface ` ConnectionProvider ` .
9598If you implement new provider, please create pull request :)
You can’t perform that action at this time.
0 commit comments