Fix SSL client issue.

This commit is contained in:
Chunting Gu
2018-09-19 15:53:10 +08:00
parent 87ead87527
commit ef252c9f74
4 changed files with 63 additions and 92 deletions
-4
View File
@@ -7,7 +7,6 @@
// Example:
// /inventory-check.cgi?item=12731&color=blue&size=large
#include <map>
#include <string>
#include <utility>
#include <vector>
@@ -27,9 +26,6 @@ class UrlQuery {
// The query string should be key value pairs separated by '&'.
explicit UrlQuery(const std::string& str);
// Construct from key-value pairs.
explicit UrlQuery(const std::map<std::string, std::string>& map);
void Add(const std::string& key, const std::string& value);
void Add(std::string&& key, std::string&& value);