download


Description:

public async string download (string url) throws Error

Download url into the platform Downloads folder.

Returns once the transfer has started (destination known). Completion and failure after start are reported via activity notifications.

Parameters:

url

absolute http(s) URL

Returns:

destination path, or status if already in flight

Exceptions:

GLib.Error

when permission denied or start fails