Download.cancel

Cancels the download.

When the ongoing download operation is effectively cancelled the signal #WebKitDownload::failed is emitted with webkit.types.DownloadError.CancelledByUser error.

class Download
void
cancel
()