forked from boostorg/beast
Fixes to support Asio changes (API Change):
This adjusts Beast's interfaces and implementation to match the changes in Boost.Asio.
This commit is contained in:
1 parent
ac24e58fb3
commit
6baa607295
58 files changed
+762
-723
No files matched your search
@@ -48,9 +48,8 @@ do_session(
|
||||
beast::error_code ec;
|
||||
|
||||
// These objects perform our I/O
|
||||
tcp::resolver resolver{ioc};
|
||||
websocket::stream<
|
||||
beast::tcp_stream<net::io_context::executor_type>> ws(ioc);
|
||||
tcp::resolver resolver(ioc);
|
||||
websocket::stream<beast::tcp_stream> ws(ioc);
|
||||
|
||||
// Look up the domain name
|
||||
auto const results = resolver.async_resolve(host, port, yield[ec]);
|
||||
|
||||
Reference in new issue
Block a user