CLOUD: Add GoogleDriveUploadRequest
Includes NetworkReadStream PATCH method and Headers remembering feature.
This commit is contained in:
parent
e273e3d6e8
commit
b29497effe
8 changed files with 481 additions and 11 deletions
|
@ -45,6 +45,7 @@ protected:
|
|||
byte *_bytesBuffer;
|
||||
uint32 _bytesBufferSize;
|
||||
bool _uploading; //using PUT method
|
||||
bool _usingPatch; //using PATCH method
|
||||
|
||||
virtual NetworkReadStream *makeStream();
|
||||
|
||||
|
@ -70,6 +71,9 @@ public:
|
|||
/** Remembers to use PUT method when it would create NetworkReadStream. */
|
||||
virtual void usePut();
|
||||
|
||||
/** Remembers to use PATCH method when it would create NetworkReadStream. */
|
||||
virtual void usePatch();
|
||||
|
||||
/**
|
||||
* Starts this Request with ConnMan.
|
||||
* @return its NetworkReadStream in NetworkReadStreamResponse.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue