|
| NetworkReadStreamCurl (const char *url, RequestHeaders *headersList, const Common::String &postFields, bool uploading, bool usingPatch, bool keepAlive, long keepAliveIdle, long keepAliveInterval) |
|
| NetworkReadStreamCurl (const char *url, RequestHeaders *headersList, const Common::HashMap< Common::String, Common::String > &formFields, const Common::HashMap< Common::String, Common::Path > &formFiles, bool keepAlive, long keepAliveIdle, long keepAliveInterval) |
|
| NetworkReadStreamCurl (const char *url, RequestHeaders *headersList, const byte *buffer, uint32 bufferSize, bool uploading, bool usingPatch, bool post, bool keepAlive, long keepAliveIdle, long keepAliveInterval) |
|
void | finished (CURLcode errorCode) |
|
bool | reuse (const char *url, RequestHeaders *headersList, const Common::String &postFields, bool uploading=false, bool usingPatch=false) override |
|
bool | reuse (const char *url, RequestHeaders *headersList, const Common::HashMap< Common::String, Common::String > &formFields, const Common::HashMap< Common::String, Common::Path > &formFiles) override |
|
bool | reuse (const char *url, RequestHeaders *headersList, const byte *buffer, uint32 bufferSize, bool uploading=false, bool usingPatch=false, bool post=true) override |
|
void | resetStream () override |
|
long | httpResponseCode () const override |
|
Common::String | currentLocation () const override |
|
Common::HashMap< Common::String, Common::String > | responseHeadersMap () const override |
|
bool | hasError () const override |
|
const char * | getError () const override |
|
bool | eos () const override |
|
uint32 | read (void *dataPtr, uint32 dataSize) override |
|
Common::String | responseHeaders () const |
|
double | getProgress () const |
|
void | setProgress (uint64 downloaded, uint64 total) |
|
bool | keepAlive () const |
|
byte | readByte () |
|
FORCEINLINE int8 | readSByte () |
|
uint16 | readUint16LE () |
|
uint32 | readUint32LE () |
|
uint64 | readUint64LE () |
|
uint16 | readUint16BE () |
|
uint32 | readUint32BE () |
|
uint64 | readUint64BE () |
|
FORCEINLINE int16 | readSint16LE () |
|
FORCEINLINE int32 | readSint32LE () |
|
FORCEINLINE int64 | readSint64LE () |
|
FORCEINLINE int16 | readSint16BE () |
|
FORCEINLINE int32 | readSint32BE () |
|
FORCEINLINE int64 | readSint64BE () |
|
FORCEINLINE float | readFloatLE () |
|
FORCEINLINE float | readFloatBE () |
|
FORCEINLINE double | readDoubleLE () |
|
FORCEINLINE double | readDoubleBE () |
|
template<class TDataFormat , class... T> |
bool | readMultiple (const TDataFormat &dataFormat, T &...values) |
|
template<class... T> |
bool | readMultipleEndian (bool isLittle, T &...values) |
|
template<class... T> |
bool | readMultipleLE (T &...values) |
|
template<class... T> |
bool | readMultipleBE (T &...values) |
|
SeekableReadStream * | readStream (uint32 dataSize) |
|
String | readString (char terminator=0, size_t len=String::npos) |
|
Common::String | readPascalString (bool transformCR=true) |
|
virtual bool | err () const |
|
virtual void | clearErr () |
|
|
static NetworkReadStream * | make (const char *url, RequestHeaders *headersList, const Common::String &postFields, bool uploading=false, bool usingPatch=false, bool keepAlive=false, long keepAliveIdle=120, long keepAliveInterval=60) |
|
static NetworkReadStream * | make (const char *url, RequestHeaders *headersList, const Common::HashMap< Common::String, Common::String > &formFields, const Common::HashMap< Common::String, Common::Path > &formFiles, bool keepAlive=false, long keepAliveIdle=120, long keepAliveInterval=60) |
|
static NetworkReadStream * | make (const char *url, RequestHeaders *headersList, const byte *buffer, uint32 bufferSize, bool uploading=false, bool usingPatch=false, bool post=true, bool keepAlive=false, long keepAliveIdle=120, long keepAliveInterval=60) |
|
uint32 | fillWithSendingContents (char *bufferToFill, uint32 maxSize) |
|
uint32 | addResponseHeaders (char *buffer, uint32 bufferSize) |
|
| NetworkReadStream (bool keepAlive, long keepAliveIdle, long keepAliveInterval) |
|
Common::MemoryReadWriteStream | _backingStream |
|
bool | _keepAlive |
|
long | _keepAliveIdle |
|
long | _keepAliveInterval |
|
bool | _eos |
|
bool | _requestComplete |
|
const byte * | _sendingContentsBuffer |
|
uint32 | _sendingContentsSize |
|
uint32 | _sendingContentsPos |
|
Common::String | _responseHeaders |
|
uint64 | _progressDownloaded |
|
uint64 | _progressTotal |
|