Explorar o código

Added example line in test

Paul-Louis Ageneau %!s(int64=5) %!d(string=hai) anos
pai
achega
bc6710c4a1
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      test/websocket.cpp

+ 4 - 0
test/websocket.cpp

@@ -38,6 +38,10 @@ void test_websocket() {
 
 	auto ws = std::make_shared<WebSocket>();
 
+	// Certificate verification can be disabled
+	// auto ws = std::make_shared<WebSocket>(WebSocket::Configuration{.disableTlsVerification =
+	// true});
+
 	ws->onOpen([wws = make_weak_ptr(ws), &myMessage]() {
 		auto ws = wws.lock();
 		if (!ws)