[Unit Test] SiaCurl::Get() - Basic get test
Added json parser
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user