net::ssl::stream is canonical in snippets

This commit is contained in:
Mohammad Nejati
2024-05-31 16:45:52 +03:30
committed by Mohammad Nejati
parent 03b792faac
commit 4089e27357
11 changed files with 3 additions and 22 deletions
+1 -2
View File
@@ -19,7 +19,6 @@
//[code_websocket_1a
#include <boost/beast.hpp>
#include <boost/beast/ssl.hpp>
#include <boost/asio.hpp>
#include <boost/asio/ssl.hpp>
@@ -78,7 +77,7 @@ snippets()
//[code_websocket_5f
// The WebSocket stream will use SSL and a new strand
stream<ssl_stream<tcp_stream>> wss(net::make_strand(ioc), ctx);
stream<net::ssl::stream<tcp_stream>> wss(net::make_strand(ioc), ctx);
//]