File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class HelloSockController {
5050
5151 // ...
5252
53- mStompClient = Stomp . over(WebSocketClient . class, " ws://localhost:8080/app/hello/websocket" );
53+ mStompClient = Stomp . over(WebSocket . class, " ws://localhost:8080/app/hello/websocket" );
5454 mStompClient. connect();
5555
5656 mStompClient. topic(" /topic/greetings" ). subscribe(topicMessage - > {
@@ -68,7 +68,7 @@ class HelloSockController {
6868Method ` Stomp.over ` consume class for create connection as first parameter.
6969You must provide dependency for lib and pass class.
7070At now supported connection providers:
71- - WebSocketClient .class ('org.java-websocket:Java-WebSocket:1.3.0')
71+ - WebSocket .class ('org.java-websocket:Java-WebSocket:1.3.0')
7272
7373You can add own connection provider. Just implement interface ` ConnectionProvider ` .
7474If you implement new provider, please create pull request :)
You can’t perform that action at this time.
0 commit comments