注意目前示例代码包含了单独asio代码。对应Commit: f70f65ae54351c209c3a24704624144bfe8e70a3 如何贡献 提前阅读下文档:如何修复Issue。 确保修改后单元测试通过,代码格式化通过。(git-clang-format HEAD^)。目前 CI 系统中的 clang-format 版本为 14。当 CI 中提示的 format 结果不好时,也可考虑暂时先 accept ...
":asio", ], ) @@ -32,7 +33,10 @@ cc_binary( cc_binary( name = "ReadFiles", srcs = ["ReadFiles.cpp"], deps = ["//:async_simple"], deps = [ "//:async_simple", "//:simple_executors", ], copts = ASYNC_SIMPLE_COPTS, ) 4 changes: 4 additions & 0 deletions 4 demo_...
ezhangle/async_simplePublic forked fromalibaba/async_simple NotificationsYou must be signed in to change notification settings Fork0 Star0 main 1Branch0Tags Code This branch is14 commits behindalibaba/async_simple:main. Releases No releases published ...
co_await client.write_websocket("test again"); data = co_await client.read_websocket(); CHECK(data.resp_body == "test again"); co_await client.write_websocket("ws close"); data = co_await client.read_websocket(); CHECK(data.net_err == asio::error::eof); CHECK(data.resp_body =...
net_err == asio::error::eof); CHECK(data.resp_body == "ws close"); }upload/downloadasync_simple::coro::Lazy<void> upload_files(coro_http_client &client) { std::string uri = "http://example.com"; client.add_str_part("hello", "world"); client.add_str_part("key", "value")...
New issue Closed Description vjpai vjpai added lang/c++ area/api/feedback disposition/help wantedMaintainers do not have enough resources to allocate to this at the moment. Help is appreciated! on Jul 13, 2016 ghost commentedon Jul 14, 2016 ...
read_websocket(); CHECK(data.net_err == asio::error::eof); CHECK(data.resp_body == "ws close"); }upload/downloadasync_simple::coro::Lazy<void> upload_files(coro_http_client &client) { std::string uri = "http://example.com"; client.add_str_part("hello", "world"); client.add...
asio async_simple openssl(optional) easylog No dependency. struct_pack, struct_json, struct_xml, struct_yaml No dependency. struct_pb (optional) In default, struct_pb wont be installed. You need install protobuf manually. protobuf Standalone sublibraries ...
struct_pack easylog asio openssl (optional)struct_packNo dependency.struct_jsoniguana struct_pbTODOeasylogNo dependency.How to generate documentsee Build WebsiteHow to ContributeCreate an issue in the issue template. Run tests and git-clang-format HEAD^ locally for the change. Create a PR, ...