mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-30 00:50:48 +08:00
Fix
This commit is contained in:
+17
-18
@@ -16,8 +16,8 @@ void test_add() {
|
||||
}
|
||||
|
||||
{
|
||||
// auto result = client.call<int>("add", 1, 2);
|
||||
// std::cout << result << std::endl;
|
||||
auto result = client.call<int>("add", 1, 2);
|
||||
std::cout << result << std::endl;
|
||||
}
|
||||
|
||||
{
|
||||
@@ -621,21 +621,20 @@ void benchmark_test(){
|
||||
}
|
||||
|
||||
int main() {
|
||||
// benchmark_test();
|
||||
test_add();
|
||||
// test_connect();
|
||||
// test_callback();
|
||||
// test_echo();
|
||||
// test_sync_client();
|
||||
// test_async_client();
|
||||
//test_threads();
|
||||
//test_sub();
|
||||
//test_call_with_timeout();
|
||||
//test_connect();
|
||||
//test_upload();
|
||||
//test_download();
|
||||
//multi_client_performance(20);
|
||||
//test_performance1();
|
||||
//test_multiple_thread();
|
||||
benchmark_test();
|
||||
test_connect();
|
||||
test_callback();
|
||||
test_echo();
|
||||
test_sync_client();
|
||||
test_async_client();
|
||||
test_threads();
|
||||
test_sub1();
|
||||
test_call_with_timeout();
|
||||
test_connect();
|
||||
test_upload();
|
||||
test_download();
|
||||
multi_client_performance(20);
|
||||
test_performance1();
|
||||
test_multiple_thread();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user