Append
class Append extends ContentUploadAbstractOperation
Append more data to an upload session. When the parameter close is set, this call will close the session. A single request should not upload more than 150 MB of file contents.
Constants
API_VERSION |
Dropbox API version |
HOST |
The hostname for these operations |
Methods
__construct(
bool $async = null,
string $accessToken = null)
Operation constructor.
from AbstractOperation
static
setDefaultToken(
string $token)
Sets the default token to use with the constructor
from AbstractOperation
static
setDefaultAsync(
bool $async)
Sets the default $async value for the constructor
from AbstractOperation
PromiseInterface|ResponseInterface
raw(
string|resource|StreamInterface $data,
UploadSessionCursor $cursor,
UploadSessionActiveOptions $options = null)
Perform the operation, returning a promise or raw response object
Details
in AbstractOperation at line line 81
__construct(
bool $async = null,
string $accessToken = null)
Operation constructor.
in AbstractOperation at line line 101
final static
setDefaultToken(
string $token)
Sets the default token to use with the constructor
in AbstractOperation at line line 121
boolean
isAsync()
Return whether we're operating in async mode
in AbstractOperation at line line 134
final
AbstractOperation
setAsync(
bool $async)
Sets the sync/async operation mode
in AbstractOperation at line line 148
final static
setDefaultAsync(
bool $async)
Sets the default $async value for the constructor
at line line 38
PromiseInterface|ResponseInterface
raw(
string|resource|StreamInterface $data,
UploadSessionCursor $cursor,
UploadSessionActiveOptions $options = null)
Perform the operation, returning a promise or raw response object