WebKit2.WebContext.prototype.download_uri
function download_uri(uri: String): WebKit2.Download {
// Gjs wrapper for webkit_web_context_download_uri()
}
Requests downloading of the specified URI string. The download operation will not be associated to any WebKit2.WebView, if you are interested in starting a download from a particular WebKit2.WebView use WebKit2.WebView.prototype.download_uri instead.
- uri
the URI to download
- Returns
a new WebKit2.Download representing the the download operation.