mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Fixed CI WebSocket test on MacOS
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user