switch asio from standalone to boost

This commit is contained in:
Chunting Gu
2020-08-31 14:57:47 +08:00
parent 20f02aa704
commit d49db1ec9c
507 changed files with 237 additions and 110294 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ int main(int argc, char* argv[]) {
std::uint16_t port = static_cast<std::uint16_t>(std::atoi(argv[1]));
try {
webcc::Server server{ asio::ip::tcp::v4(), port };
webcc::Server server{ boost::asio::ip::tcp::v4(), port };
server.Route("/upload", std::make_shared<FileUploadView>(), { "POST" });