WebKit2.WebResource.prototype.get_response
function get_response(): WebKit2.URIResponse {
// Gjs wrapper for webkit_web_resource_get_response()
}
Retrieves the WebKit2.URIResponse of the resource load operation. 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.