Remove tlsOptions
This commit is contained in:
@@ -10,12 +10,7 @@ Websocket::Websocket(std::string host,
|
||||
ix::initNetSystem();
|
||||
#endif
|
||||
|
||||
ix::SocketTLSOptions options;
|
||||
options.caFile = "CUSTOM";
|
||||
options.tls = true;
|
||||
|
||||
webSocket = new ix::WebSocket();
|
||||
webSocket->setTLSOptions(options);
|
||||
webSocket->enableAutomaticReconnection();
|
||||
webSocket->setUrl(host);
|
||||
webSocket->setOnMessageCallback([this](const ix::WebSocketMessagePtr &msg) {
|
||||
|
||||
Reference in New Issue
Block a user