forked from boostorg/beast
basic_stream connects are members
This commit is contained in:
@@ -91,8 +91,7 @@ public:
|
||||
stream_.expires_after(std::chrono::seconds(30));
|
||||
|
||||
// Make the connection on the IP address we get from a lookup
|
||||
beast::async_connect(
|
||||
stream_,
|
||||
stream_.async_connect(
|
||||
results,
|
||||
beast::bind_front_handler(
|
||||
&session::on_connect,
|
||||
|
||||
Reference in New Issue
Block a user