Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Apr 18, 2024
1 parent 7097cf7 commit 9e418af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/coro_http/examples/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ async_simple::coro::Lazy<void> use_websocket() {
co_return;
}

auto result =
co_await client.write_websocket("hello websocket");
auto result = co_await client.write_websocket("hello websocket");
assert(!result.net_err);
auto data = co_await client.read_websocket();
assert(data.resp_body == "hello websocket");
Expand Down

0 comments on commit 9e418af

Please sign in to comment.