diff --git a/README.md b/README.md index e50f8ccd918b5bc4f1e3f45dbdf2a82f713f1389..a4170b5394419e587233b8d2142bd3a7b092973d 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ // ... - mStompClient = Stomp.over(Stomp.ConnectionProvider.OKHTTP, "ws://" + ANDROID_EMULATOR_LOCALHOST + ":" + RestClient.SERVER_PORT + "/example-endpoint/websocket"); + mStompClient = Stomp.over(Stomp.ConnectionProvider.OKHTTP, "ws://" + OHOS_EMULATOR_LOCALHOST + ":" + RestClient.SERVER_PORT + "/example-endpoint/websocket"); mStompClient.connect(); mStompClient.topic("/topic/greetings")