basic_stream connects are members

This commit is contained in:
Vinnie Falco
2019-02-19 09:36:13 -08:00
parent 0ad7390e94
commit c5b655c954
17 changed files with 832 additions and 916 deletions

View File

@@ -86,8 +86,7 @@ public:
beast::get_lowest_layer(ws_).expires_after(std::chrono::seconds(30));
// Make the connection on the IP address we get from a lookup
beast::async_connect(
beast::get_lowest_layer(ws_),
beast::get_lowest_layer(ws_).async_connect(
results,
beast::bind_front_handler(
&session::on_connect,