summaryrefslogtreecommitdiffhomepage
path: root/response.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-10 16:58:49 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-10 16:58:49 +0200
commit0f55f61ee745f38c312a53009b883feb5aa86b49 (patch)
tree46b8b9f0847e0dcbb1ea8e25fff69de8c5337850 /response.h
parentc0ccf16c69d43a89674640c61d13ec2c02b128d6 (diff)
Simplify http and https units
Diffstat (limited to 'response.h')
-rw-r--r--response.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/response.h b/response.h
index c47a980..ad3d2fc 100644
--- a/response.h
+++ b/response.h
@@ -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);