DDraceNetwork Documentation
Loading...
Searching...
No Matches
CCommunityIcons::CCommunityIconDownloadJob Class Reference
Inheritance diagram for CCommunityIcons::CCommunityIconDownloadJob:
[legend]
Collaboration diagram for CCommunityIcons::CCommunityIconDownloadJob:
[legend]

Public Member Functions

 CCommunityIconDownloadJob (CCommunityIcons *pCommunityIcons, const char *pCommunityId, const char *pUrl, const SHA256_DIGEST &Sha256)
Public Member Functions inherited from CHttpRequest
 CHttpRequest (const char *pUrl)
virtual ~CHttpRequest ()
void Timeout (CTimeout Timeout)
void SkipByFileTime (bool SkipByFileTime)
void MaxResponseSize (int64_t MaxResponseSize)
void LogProgress (HTTPLOG LogProgress)
void IpResolve (IPRESOLVE IpResolve)
void FailOnErrorStatus (bool FailOnErrorStatus)
void WriteToMemory ()
void WriteToFileAndMemory (IStorage *pStorage, const char *pDest, int StorageType)
void WriteToFile (IStorage *pStorage, const char *pDest, int StorageType)
void ValidateBeforeOverwrite (bool ValidateBeforeOverwrite)
void ExpectSha256 (const SHA256_DIGEST &Sha256)
void Head ()
void Post (const unsigned char *pData, size_t DataLength)
void PostJson (const char *pJson)
void Header (const char *pNameColonValue)
void HeaderString (const char *pName, const char *pValue)
void HeaderInt (const char *pName, int Value)
const char * Dest ()
double Current () const
double Size () const
int Progress () const
EHttpState State () const
bool Done () const
void Abort ()
void OnValidation (bool Success)
void Wait ()
void Result (unsigned char **ppResult, size_t *pResultLength) const
json_valueResultJson () const
const SHA256_DIGESTResultSha256 () const
int StatusCode () const
std::optional< int64_t > ResultAgeSeconds () const
std::optional< int64_t > ResultLastModified () const
Public Member Functions inherited from CCommunityIcons::CAbstractCommunityIconJob
const char * CommunityId () const
bool Success () const
const SHA256_DIGESTSha256 () const
virtual ~CAbstractCommunityIconJob ()=default

Additional Inherited Members

Protected Member Functions inherited from CHttpRequest
virtual void OnProgress ()
virtual void OnCompletion (EHttpState State)
Protected Member Functions inherited from CCommunityIcons::CAbstractCommunityIconJob
 CAbstractCommunityIconJob (CCommunityIcons *pCommunityIcons, const char *pCommunityId, int StorageType)
Protected Attributes inherited from CCommunityIcons::CAbstractCommunityIconJob
CCommunityIconsm_pCommunityIcons
char m_aCommunityId [CServerInfo::MAX_COMMUNITY_ID_LENGTH]
char m_aPath [IO_MAX_PATH_LENGTH]
int m_StorageType
bool m_Success = false
SHA256_DIGEST m_Sha256

Constructor & Destructor Documentation

◆ CCommunityIconDownloadJob()

CCommunityIcons::CCommunityIconDownloadJob::CCommunityIconDownloadJob ( CCommunityIcons * pCommunityIcons,
const char * pCommunityId,
const char * pUrl,
const SHA256_DIGEST & Sha256 )

The documentation for this class was generated from the following files: