diff options
Diffstat (limited to 'response.h')
-rw-r--r-- | response.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |