#pragma once // See lib/http/request.hpp //clang-format off #include //clang-format on #include #include #include // namespace base::http { struct Response { Response(beast::http::message_generator&& mg) : mg(std::move(mg)) {} auto&& Release() { return std::move(mg); } private: friend struct Server; beast::http::message_generator mg; }; } // namespace base::http