diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-09 18:30:32 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-09 18:30:32 +0200 |
commit | 0d157fb407a35f8afe6d6f0f4c2cc5cd5d5a1933 (patch) | |
tree | 86ccea82ebbe29197eacb9a85e8ec7548c5ae38c /response.h | |
parent | 2f42619303627db401e469e2fd65123cd794a378 (diff) |
Prepared generate_page for static-files plugin
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); |