mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-30 00:50:48 +08:00
add example for async_client
This commit is contained in:
@@ -88,6 +88,8 @@ void test_async_client() {
|
||||
async_client client("127.0.0.1", 9000);
|
||||
client.connect();
|
||||
|
||||
client.call("hello", "world");
|
||||
|
||||
std::string str;
|
||||
std::cin >> str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user