summaryrefslogtreecommitdiffhomepage
path: root/response.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-09 18:30:32 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-09 18:30:32 +0200
commit0d157fb407a35f8afe6d6f0f4c2cc5cd5d5a1933 (patch)
tree86ccea82ebbe29197eacb9a85e8ec7548c5ae38c /response.h
parent2f42619303627db401e469e2fd65123cd794a378 (diff)
Prepared generate_page for static-files plugin
Diffstat (limited to 'response.h')
-rw-r--r--response.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/response.h b/response.h
index a093320..a877944 100644
--- a/response.h
+++ b/response.h
@@ -1,6 +1,6 @@
#pragma once
-#include "config.h"
+#include "server.h"
#include <boost/beast/http.hpp>
@@ -37,4 +37,4 @@ public:
};
std::string extend_index_html(std::string path);
-std::string generate_response(http::request<http::string_body>& req, const Config& config, const Socket& socket);
+std::string generate_response(http::request<http::string_body>& req, http::response<http::string_body>& res, Server& server);