Refacotring; support HTTPs client.

This commit is contained in:
Adam Gu
2018-07-30 15:03:02 +08:00
parent 8a92fcb950
commit 3693d881c7
18 changed files with 604 additions and 182 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
#include "json/json.h"
#include "webcc/async_rest_client.h"
#include "webcc/rest_async_client.h"
#include "webcc/logger.h"
// -----------------------------------------------------------------------------
@@ -44,7 +44,7 @@ class BookListClient {
}
private:
webcc::AsyncRestClient rest_client_;
webcc::RestAsyncClient rest_client_;
};
// -----------------------------------------------------------------------------
@@ -84,7 +84,7 @@ public:
}
private:
webcc::AsyncRestClient rest_client_;
webcc::RestAsyncClient rest_client_;
};
// -----------------------------------------------------------------------------