Delete
class Delete extends SingleArgumentRPCOperation
The delete operation
Constants
API_VERSION |
Dropbox API version |
HOST |
The hostname for these requests |
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 $path)
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
in SingleArgumentRPCOperation at line line 48
PromiseInterface|ResponseInterface
raw(
string $path)
Perform the operation, returning a promise or raw response object