Delete code that was committed by mistake
This commit is contained in:
parent
cb12f5c025
commit
66e8406689
1 changed files with 1 additions and 10 deletions
|
@ -24,14 +24,6 @@
|
||||||
|
|
||||||
namespace nap {
|
namespace nap {
|
||||||
|
|
||||||
enum class ConnectionResult : unsigned int {
|
|
||||||
Ok,
|
|
||||||
CouldntResolveProxy,
|
|
||||||
CouldntResolveHost,
|
|
||||||
CouldntConnect,
|
|
||||||
TimedOut
|
|
||||||
};
|
|
||||||
|
|
||||||
struct HttpResponse {
|
struct HttpResponse {
|
||||||
std::unique_ptr<char[]> raw;
|
std::unique_ptr<char[]> raw;
|
||||||
std::vector<std::pair<std::string_view, std::string_view>> header_list;
|
std::vector<std::pair<std::string_view, std::string_view>> header_list;
|
||||||
|
@ -39,8 +31,7 @@ struct HttpResponse {
|
||||||
std::string_view body;
|
std::string_view body;
|
||||||
std::string_view http_ver;
|
std::string_view http_ver;
|
||||||
std::string_view code_desc;
|
std::string_view code_desc;
|
||||||
unsigned int code{0};
|
unsigned int code;
|
||||||
ConnectionResult conn_result{ConnectionResult::Ok};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} //namespace nap
|
} //namespace nap
|
||||||
|
|
Loading…
Reference in a new issue