WebKit2.Download.prototype.get_destination
function get_destination(): String { // Gjs wrapper for webkit_download_get_destination() }
Obtains the URI to which the downloaded file will be written. You can connect to WebKit2.Download::created-destination to make sure this method returns a valid destination.
- Returns
the destination URI or null