Get http error code from curl
This commit is contained in:
@@ -42,7 +42,7 @@ private:
|
||||
std::string ConstructPath(const String& relativePath) const;
|
||||
_SiaCurlError _Get(const String& path, json& response) const;
|
||||
bool CheckVersion(_SiaCurlError& error) const;
|
||||
_SiaCurlError ProcessResponse(const int& res, const std::string& result, json& response) const;
|
||||
_SiaCurlError ProcessResponse(const int& res, const int& httpCode, const std::string& result, json& response) const;
|
||||
|
||||
public:
|
||||
String GetServerVersion() const;
|
||||
|
Reference in New Issue
Block a user