diff --git a/src/nap/http_response.hpp b/src/nap/http_response.hpp index f3e52ef..f69949e 100644 --- a/src/nap/http_response.hpp +++ b/src/nap/http_response.hpp @@ -24,14 +24,6 @@ namespace nap { -enum class ConnectionResult : unsigned int { - Ok, - CouldntResolveProxy, - CouldntResolveHost, - CouldntConnect, - TimedOut -}; - struct HttpResponse { std::unique_ptr raw; std::vector> header_list; @@ -39,8 +31,7 @@ struct HttpResponse { std::string_view body; std::string_view http_ver; std::string_view code_desc; - unsigned int code{0}; - ConnectionResult conn_result{ConnectionResult::Ok}; + unsigned int code; }; } //namespace nap