forked from boostorg/beast
net::ssl::stream is canonical in snippets
This commit is contained in:
committed by
Mohammad Nejati
parent
03b792faac
commit
4089e27357
@@ -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);
|
||||
|
||||
//]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user