|
| OneDriveTokenRefresher (OneDriveStorage *parent, Networking::JsonCallback callback, Networking::ErrorCallback ecb, const char *url) |
|
void | setHeaders (const Common::Array< Common::String > &headers) override |
|
void | addHeader (const Common::String &header) override |
|
| CurlJsonRequest (JsonCallback cb, ErrorCallback ecb, const Common::String &url) |
|
void | handle () override |
|
void | restart () override |
|
| CurlRequest (DataCallback cb, ErrorCallback ecb, const Common::String &url) |
|
void | handle () override |
|
void | restart () override |
|
Common::String | date () const override |
|
virtual void | addPostField (const Common::String &field) |
|
virtual void | addFormField (const Common::String &name, const Common::String &value) |
|
virtual void | addFormFile (const Common::String &name, const Common::Path &filename) |
|
virtual void | setBuffer (byte *buffer, uint32 size) |
|
virtual void | usePut () |
|
virtual void | usePatch () |
|
virtual void | connectionKeepAlive (long idle=120, long interval=60) |
|
virtual void | connectionClose () |
|
virtual NetworkReadStreamResponse | execute () |
|
const NetworkReadStream * | getNetworkReadStream () const |
|
void | wait (int spinlockDelay=5) |
|
| Request (DataCallback cb, ErrorCallback ecb) |
|
virtual void | handleRetry () |
|
virtual void | pause () |
|
virtual void | finish () |
|
virtual void | retry (uint32 seconds) |
|
RequestState | state () const |
|
|
static bool | jsonIsObject (const Common::JSONValue *item, const char *warningPrefix) |
|
static bool | jsonContainsObject (const Common::JSONObject &item, const char *key, const char *warningPrefix, bool isOptional=false) |
|
static bool | jsonContainsString (const Common::JSONObject &item, const char *key, const char *warningPrefix, bool isOptional=false) |
|
static bool | jsonContainsIntegerNumber (const Common::JSONObject &item, const char *key, const char *warningPrefix, bool isOptional=false) |
|
static bool | jsonContainsArray (const Common::JSONObject &item, const char *key, const char *warningPrefix, bool isOptional=false) |
|
static bool | jsonContainsStringOrIntegerNumber (const Common::JSONObject &item, const char *key, const char *warningPrefix, bool isOptional=false) |
|
static bool | jsonContainsAttribute (const Common::JSONObject &item, const char *key, const char *warningPrefix, bool isOptional=false) |
|
NetworkReadStream * | makeStream () |
|
virtual void | finishSuccess () |
|
JsonCallback | _jsonCallback |
|
Common::MemoryWriteStreamDynamic | _contentsStream |
|
byte * | _buffer |
|
Common::String | _url |
|
NetworkReadStream * | _stream |
|
curl_slist * | _headersList |
|
Common::String | _postFields |
|
Common::HashMap< Common::String, Common::String > | _formFields |
|
Common::HashMap< Common::String, Common::Path > | _formFiles |
|
byte * | _bytesBuffer |
|
uint32 | _bytesBufferSize |
|
bool | _uploading |
|
bool | _usingPatch |
|
bool | _keepAlive |
|
long | _keepAliveIdle |
|
long | _keepAliveInterval |
|
DataCallback | _callback |
|
ErrorCallback | _errorCallback |
|
RequestState | _state |
|
uint32 | _retryInSeconds |
|
◆ setHeaders()
◆ addHeader()
void Cloud::OneDrive::OneDriveTokenRefresher::addHeader |
( |
const Common::String & |
header | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: