DDraceNetwork Docs
|
#include <menus.h>
Public Member Functions | |
CCommunityIconDownloadJob (CMenus *pMenus, 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 | MaxResponseSize (int64_t MaxResponseSize) |
void | IfModifiedSince (int64_t IfModifiedSince) |
void | LogProgress (HTTPLOG LogProgress) |
void | IpResolve (IPRESOLVE IpResolve) |
void | FailOnErrorStatus (bool FailOnErrorStatus) |
void | WriteToFile (IStorage *pStorage, const char *pDest, int StorageType) |
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 | Wait () |
void | Result (unsigned char **ppResult, size_t *pResultLength) const |
json_value * | ResultJson () const |
const SHA256_DIGEST & | ResultSha256 () const |
int | StatusCode () const |
std::optional< int64_t > | ResultAgeSeconds () const |
std::optional< int64_t > | ResultLastModified () const |
Public Member Functions inherited from CMenus::CAbstractCommunityIconJob | |
const char * | CommunityId () const |
bool | Success () const |
const SHA256_DIGEST & | Sha256 () const |
Additional Inherited Members | |
Protected Member Functions inherited from CHttpRequest | |
virtual void | OnProgress () |
virtual void | OnCompletion (EHttpState State) |
Protected Member Functions inherited from CMenus::CAbstractCommunityIconJob | |
CAbstractCommunityIconJob (CMenus *pMenus, const char *pCommunityId, int StorageType) | |
virtual | ~CAbstractCommunityIconJob () |
Protected Attributes inherited from CMenus::CAbstractCommunityIconJob | |
CMenus * | m_pMenus |
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 |
CMenus::CCommunityIconDownloadJob::CCommunityIconDownloadJob | ( | CMenus * | pMenus, |
const char * | pCommunityId, | ||
const char * | pUrl, | ||
const SHA256_DIGEST & | Sha256 | ||
) |