WebKit2.Download.prototype.get_response
function get_response(): WebKit2.URIResponse {
// Gjs wrapper for webkit_download_get_response()
}
Retrieves the WebKit2.URIResponse object that backs the download process. This method returns null if called before the response is received from the server. You can connect to notify::response signal to be notified when the response is received.
- Returns
the WebKit2.URIResponse, or null if the response hasn't been received yet.