#include <http.h>
◆ REQUEST
| Enumerator |
|---|
| GET | |
| HEAD | |
| POST | |
| POST_JSON | |
◆ IHttpRequest()
| IHttpRequest::IHttpRequest |
( |
const char * | pUrl | ) |
|
◆ ~IHttpRequest()
| IHttpRequest::~IHttpRequest |
( |
| ) |
|
|
virtual |
◆ Abort()
| virtual void IHttpRequest::Abort |
( |
| ) |
|
|
inlinevirtual |
◆ BeforeInit()
| bool IHttpRequest::BeforeInit |
( |
| ) |
|
|
protected |
◆ Current()
| double IHttpRequest::Current |
( |
| ) |
const |
|
inline |
◆ Dest()
| const char * IHttpRequest::Dest |
( |
| ) |
const |
◆ Done()
| bool IHttpRequest::Done |
( |
| ) |
const |
|
inline |
◆ ExpectSha256()
◆ FailOnErrorStatus()
| void IHttpRequest::FailOnErrorStatus |
( |
bool | FailOnErrorStatus | ) |
|
|
inline |
◆ GetRequestType()
| const char * IHttpRequest::GetRequestType |
( |
REQUEST | Type | ) |
|
|
staticprotected |
◆ Head()
| void IHttpRequest::Head |
( |
| ) |
|
◆ Header()
| virtual void IHttpRequest::Header |
( |
const char * | pNameColonValue | ) |
|
|
pure virtual |
◆ HeaderInt()
| void IHttpRequest::HeaderInt |
( |
const char * | pName, |
|
|
int | Value ) |
◆ HeaderString()
| void IHttpRequest::HeaderString |
( |
const char * | pName, |
|
|
const char * | pValue ) |
◆ IpResolve()
| void IHttpRequest::IpResolve |
( |
IPRESOLVE | IpResolve | ) |
|
|
inline |
◆ IsAbortRequested()
| bool IHttpRequest::IsAbortRequested |
( |
| ) |
const |
|
inline |
◆ LogProgress()
| void IHttpRequest::LogProgress |
( |
HTTPLOG | LogProgress | ) |
|
|
inline |
◆ MaxResponseSize()
| void IHttpRequest::MaxResponseSize |
( |
int64_t | MaxResponseSize | ) |
|
|
inline |
◆ OnCompletionInternal()
| void IHttpRequest::OnCompletionInternal |
( |
EHttpState | State | ) |
|
|
protected |
◆ OnData()
| size_t IHttpRequest::OnData |
( |
const char * | pData, |
|
|
size_t | DataSize ) |
|
protected |
◆ OnValidation()
| void IHttpRequest::OnValidation |
( |
bool | Success | ) |
|
◆ Post()
| void IHttpRequest::Post |
( |
const unsigned char * | pData, |
|
|
size_t | DataLength ) |
◆ PostJson()
| void IHttpRequest::PostJson |
( |
const char * | pJson | ) |
|
◆ Progress()
| int IHttpRequest::Progress |
( |
| ) |
const |
|
inline |
◆ Result()
| void IHttpRequest::Result |
( |
unsigned char ** | ppResult, |
|
|
size_t * | pResultLength ) const |
◆ ResultAgeSeconds()
| std::optional< int64_t > IHttpRequest::ResultAgeSeconds |
( |
| ) |
const |
◆ ResultJson()
◆ ResultLastModified()
| std::optional< int64_t > IHttpRequest::ResultLastModified |
( |
| ) |
const |
◆ ResultSha256()
◆ SetProgressCallback()
◆ ShouldSkipRequest()
| bool IHttpRequest::ShouldSkipRequest |
( |
| ) |
|
|
protected |
◆ Size()
| double IHttpRequest::Size |
( |
| ) |
const |
|
inline |
◆ SkipByFileTime()
| void IHttpRequest::SkipByFileTime |
( |
bool | SkipByFileTime | ) |
|
|
inline |
◆ State()
◆ StatusCode()
| int IHttpRequest::StatusCode |
( |
| ) |
const |
◆ Timeout()
| void IHttpRequest::Timeout |
( |
CTimeout | Timeout | ) |
|
|
inline |
◆ ValidateBeforeOverwrite()
| void IHttpRequest::ValidateBeforeOverwrite |
( |
bool | ValidateBeforeOverwrite | ) |
|
|
inline |
◆ Wait()
| void IHttpRequest::Wait |
( |
| ) |
|
◆ WriteToFile()
| void IHttpRequest::WriteToFile |
( |
IStorage * | pStorage, |
|
|
const char * | pDest, |
|
|
int | StorageType ) |
◆ WriteToFileAndMemory()
| void IHttpRequest::WriteToFileAndMemory |
( |
IStorage * | pStorage, |
|
|
const char * | pDest, |
|
|
int | StorageType ) |
◆ WriteToMemory()
| void IHttpRequest::WriteToMemory |
( |
| ) |
|
◆ IHttp
◆ m_Abort
| std::atomic<bool> IHttpRequest::m_Abort = false |
|
protected |
◆ m_ActualSha256
| std::optional<SHA256_DIGEST> IHttpRequest::m_ActualSha256 = std::nullopt |
|
protected |
◆ m_ActualSha256Ctx
| SHA256_CTX IHttpRequest::m_ActualSha256Ctx |
|
protected |
◆ m_aDest
◆ m_aDestAbsolute
◆ m_aDestAbsoluteTmp
◆ m_aUrl
| char IHttpRequest::m_aUrl[256] = "" |
|
protected |
◆ m_BodyLength
| size_t IHttpRequest::m_BodyLength = 0 |
|
protected |
◆ m_BufferSize
| size_t IHttpRequest::m_BufferSize = 0 |
|
protected |
◆ m_Current
| std::atomic<double> IHttpRequest::m_Current = 0.0 |
|
protected |
◆ m_ExpectedSha256
| std::optional<SHA256_DIGEST> IHttpRequest::m_ExpectedSha256 = std::nullopt |
|
protected |
◆ m_FailOnErrorStatus
| bool IHttpRequest::m_FailOnErrorStatus = true |
|
protected |
◆ m_File
◆ m_IfModifiedSince
| int64_t IHttpRequest::m_IfModifiedSince = -1 |
|
protected |
◆ m_IpResolve
◆ m_LogProgress
◆ m_MaxResponseSize
| int64_t IHttpRequest::m_MaxResponseSize = -1 |
|
protected |
◆ m_pBody
| unsigned char* IHttpRequest::m_pBody = nullptr |
|
protected |
◆ m_pBuffer
| unsigned char* IHttpRequest::m_pBuffer = nullptr |
|
protected |
◆ m_pProgressCallback
◆ m_Progress
| std::atomic<int> IHttpRequest::m_Progress = 0 |
|
protected |
◆ m_ResponseLength
| uint64_t IHttpRequest::m_ResponseLength = 0 |
|
protected |
◆ m_ResultDate
| std::optional<int64_t> IHttpRequest::m_ResultDate = std::nullopt |
|
protected |
◆ m_ResultLastModified
| std::optional<int64_t> IHttpRequest::m_ResultLastModified = std::nullopt |
|
protected |
◆ m_Size
| std::atomic<double> IHttpRequest::m_Size = 0.0 |
|
protected |
◆ m_SkipByFileTime
| bool IHttpRequest::m_SkipByFileTime = true |
|
protected |
◆ m_State
◆ m_StatusCode
| int IHttpRequest::m_StatusCode = 0 |
|
protected |
◆ m_Timeout
◆ m_Type
◆ m_ValidateBeforeOverwrite
| bool IHttpRequest::m_ValidateBeforeOverwrite = false |
|
protected |
◆ m_WaitCondition
| std::condition_variable IHttpRequest::m_WaitCondition |
|
protected |
◆ m_WaitMutex
| std::mutex IHttpRequest::m_WaitMutex |
|
protected |
◆ m_WriteToFile
| bool IHttpRequest::m_WriteToFile = false |
|
protected |
◆ m_WriteToMemory
| bool IHttpRequest::m_WriteToMemory = true |
|
protected |
◆ USER_AGENT_STRING
The documentation for this class was generated from the following files: