Last active
January 27, 2020 16:34
-
-
Save madmongo1/b194fe8a1c4a183f19b4e1045dbd851c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto stream = http::request_stream(); | |
co_await stream.async_connect(url, http::get); | |
auto&& header = stream.header(); | |
std::string store; | |
auto bytes = | |
co_await net::async_read(stream, net::dynamic_buffer(store)); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment