summaryrefslogtreecommitdiffhomepage
path: root/response.h
diff options
context:
space:
mode:
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);