1
0

[Unit Test] SiaCurl::Get() - Basic get test

Added json parser
This commit is contained in:
Scott E. Graves
2017-02-02 21:51:33 -06:00
parent e53ad03dd7
commit 4ef968180d
9 changed files with 12722 additions and 11 deletions

View File

@@ -11,7 +11,8 @@ class AFX_EXT_CLASS CSiaCurl
public:
enum class _SiaCurlError
{
Success
Success,
Failed
};
public:
@@ -29,7 +30,7 @@ private:
CStringA ConstructPath(const CString& relativePath) const;
public:
_SiaCurlError Get(const CString& path, CString& result);
_SiaCurlError Get(const CString& path, json& result);
};
typedef CSiaCurl::_SiaCurlError SiaCurlError;