Server API rework.

This commit is contained in:
Chunting Gu
2019-06-26 17:34:39 +08:00
parent a65294aeec
commit a3cab444dc
20 changed files with 341 additions and 384 deletions
+3
View File
@@ -19,6 +19,9 @@ using Path = boost::filesystem::path;
using Payload = std::vector<boost::asio::const_buffer>;
// Read entire file into string.
bool ReadFile(const Path& path, std::string* output);
// -----------------------------------------------------------------------------
using Header = std::pair<std::string, std::string>;