Remove PostFile() from session; refine cmake files; replace final with override.

This commit is contained in:
Chunting Gu
2019-04-24 13:42:16 +08:00
parent ddd521b684
commit 113dacb9ce
21 changed files with 63 additions and 102 deletions
-9
View File
@@ -21,15 +21,6 @@ using Payload = std::vector<boost::asio::const_buffer>;
// -----------------------------------------------------------------------------
// Split a string to two parts by the given token.
bool Split2(const std::string& str, char token, std::string* part1,
std::string* part2);
// Read entire file into string.
bool ReadFile(const Path& path, std::string* output);
// -----------------------------------------------------------------------------
using Header = std::pair<std::string, std::string>;
class Headers {