websocketpp wss客戶端代碼

 websocket使用wss協議,使用websocketpp庫時,需要使用openssl庫支持。   不使用ssl,即使用ws非wss #include <websocketpp/config/asio_no_tls_client.hpp> #include <websocketpp/client.hpp> 使用ssl,即使用wss #include <websocketpp/config/as
相關文章
相關標籤/搜索