WebResource.getData

Asynchronously get the raw data for resource.

When the operation is finished, callback will be called. You can then call webkit.web_resource.WebResource.getDataFinish to get the result of the operation.

class WebResource
void
getData

Parameters

cancellable gio.cancellable.Cancellable

a #GCancellable or null to ignore

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied