29 #if defined(_WIN32) && defined(HR_ENGINE_SHARED) 31 # define MR_DllDeclare __declspec( dllexport ) 33 # define MR_DllDeclare __declspec( dllimport ) 36 # define MR_DllDeclare 49 Agent(
const std::string &url=
"");
53 void SetUrl(
const std::string &url);
54 const std::string &
GetUrl()
const {
return url; };
57 void Get(std::string &buf, std::shared_ptr<CancelFlag> cancelFlag = {});
58 void Get(std::ostream &buf, std::shared_ptr<CancelFlag> cancelFlag = {});
The network transfer agent (wrapper for libcurl).
Definition: Agent.h:46
std::string url
Definition: Agent.h:61
#define MR_DllDeclare
Definition: Agent.h:36
Definition: Announcement.h:24
const std::string & GetUrl() const
Definition: Agent.h:54