ContentDownloadOperation
class ContentDownloadOperation extends AbstractOperation
Abstraction for content downloads
Constants
API_VERSION |
Dropbox API version |
HOST |
The host for this set of 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
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 42
PromiseInterface|ResponseInterface
send(
string $url,
string $path,
Options $opts = null)
Send our request