Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jan 31, 2024
1 parent 6d64b08 commit 009b29c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/coro_http/examples/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ async_simple::coro::Lazy<void> basic_usage() {
result = co_await client2.async_get("https://www.baidu.com");
assert(result.status == 200);

coro_http_client client2{};
co_await client2.connect("https://www.baidu.com");
result = co_await client2.async_get("/");
coro_http_client client3{};
co_await client3.connect("https://www.baidu.com");
result = co_await client3.async_get("/");
assert(result.status == 200);
#endif
}
Expand Down

0 comments on commit 009b29c

Please sign in to comment.