/*********************************/ /* */ /* o.riabenkyi@gmail.com */ /* */ /*********************************/ #ifndef RESPONSE_HPP #define RESPONSE_HPP #include #include #include #include "http/HttpStatus.hpp" namespace webserv { const char* reasonPhrase(HttpStatus status) noexcept; struct Response { HttpStatus status; std::vector> headers; std::vector body; }; std::vector serialize(const Response& response); } // namespace webserv #endif