hewei.it 4 năm trước cách đây
mục cha
commit
98a280a699
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      http/client/WebSocketClient.h

+ 2 - 1
http/client/WebSocketClient.h

@@ -25,7 +25,8 @@ public:
     WebSocketClient();
     WebSocketClient();
     ~WebSocketClient();
     ~WebSocketClient();
 
 
-    // ws://127.0.0.1:8080/
+    // url = ws://ip:port/path
+    // url = wss://ip:port/path
     int open(const char* url);
     int open(const char* url);
     int close();
     int close();
     int send(const std::string& msg);
     int send(const std::string& msg);