WebKit2.WebResource.prototype.get_data_finish
function get_data_finish(result: Gio.AsyncResult): [return_value: ByteArray, length: Number(gsize)] {
// Gjs wrapper for webkit_web_resource_get_data_finish()
}
Finish an asynchronous operation started with WebKit2.WebResource.prototype.get_data.
- result
- return_value
a string with the data of resource, or null in case of error. if length is not null, the size of the data will be assigned to it.
- length
return location for the length of the resource data