remote_delete


Description:

public virtual async bool remote_delete (Cancellable? cancellable) throws Error

Asynchronously deletes the resource represented by this from a remote server.

The this must be remote_deletable. This will also delete the key file for this and broadcast its removal to all clients, similar to remove.

When the operation is finished, callback will be called. You can then call remote_delete.end to get the result of the operation.

Parameters:

this

an Source

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function