2 #ifndef _YI_REMOTE_ASSET_DOWNLOAD_HELPER_H_ 3 #define _YI_REMOTE_ASSET_DOWNLOAD_HELPER_H_ 47 const std::vector<uint8_t> &
GetData()
const;
53 virtual void OnRequestCompleted(
const std::shared_ptr<CYIHTTPRequest> &pRequest,
const std::shared_ptr<CYIHTTPResponse> &pResponse,
bool bCachedResponse)
override;
63 std::vector<uint8_t> m_data;
A download helper class used for downloading assets off of web servers.
Definition: YiRemoteAssetDownloadHelper.h:23
#define YI_DISALLOW_COPY_AND_ASSIGN(TypeName)
Delete the copy constructor and assignment operator (and consequently the move constructor as well) ...
Definition: YiPredef.h:114
Contains information required to configure and perform a HTTP request.
Definition: YiHTTPRequest.h:34
virtual ~CYIRemoteAssetDownloadHelper()
An HTTP response class which includes the header and body portions of the response.
Definition: YiHTTPResponse.h:24
Definition: YiAbstractDownloadHelper.h:23
A class used to encapsulate an URL.
Definition: YiUrl.h:24
virtual void CancelDownloadImplementation() override
virtual void OnRequestCompleted(const std::shared_ptr< CYIHTTPRequest > &pRequest, const std::shared_ptr< CYIHTTPResponse > &pResponse, bool bCachedResponse) override
CYIRemoteAssetDownloadHelper()
const std::vector< uint8_t > & GetData() const