diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-10 16:58:49 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-10 16:58:49 +0200 |
commit | 0f55f61ee745f38c312a53009b883feb5aa86b49 (patch) | |
tree | 46b8b9f0847e0dcbb1ea8e25fff69de8c5337850 /response.h | |
parent | c0ccf16c69d43a89674640c61d13ec2c02b128d6 (diff) |
Simplify http and https units
Diffstat (limited to 'response.h')
-rw-r--r-- | response.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -13,5 +13,4 @@ namespace http = beast::http; // from <boost/beast/http.hpp> typedef http::request<http::string_body> request_type; typedef http::response<http::string_body> response_type; -std::string extend_index_html(std::string path); -std::string generate_response(request_type& req, response_type& res, Server& server); +response_type generate_response(request_type& req, Server& server); |