Remove tlsOptions

This commit is contained in:
Kilian Hofmann 2022-09-05 15:33:31 +02:00
parent 3dce2ca488
commit a536a9c918

View File

@ -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) {