Fixed CI WebSocket test on MacOS

This commit is contained in:
Paul-Louis Ageneau
2021-04-01 12:08:58 +02:00
parent 686b8c3aa5
commit 93e985a541

View File

@ -36,10 +36,9 @@ void test_websocket() {
const string myMessage = "Hello world from libdatachannel";
WebSocket ws;
// Certificate verification can be disabled
// WebSocket ws(WebSocket::Configuration{.disableTlsVerification = true});
WebSocket::Configuration config;
config.disableTlsVerification = true;
WebSocket ws(std::move(config));
ws.onOpen([&ws, &myMessage]() {
cout << "WebSocket: Open" << endl;