request_async


Description:

public async bool request_async (string uri, Cancellable? cancellable, out unowned uint8[] content) throws Error

Request the fetching of a web resource given the uri.

This request is asynchronous, thus the result will be returned within the callback.

Parameters:

this

a Wc instance

uri

The URI of the resource to request

cancellable

a Cancellable instance or null to ignore

callback

The callback when the result is ready

user_data

User data set for the callback