[ CCode ( finish_name = "grl_net_wc_request_finish" ) ]
[ Version ( since = "0.2.2" ) ]
public async bool request_with_headers_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
.
this |
a Wc instance |
uri |
The URI of the resource to request |
cancellable |
a Cancellable instance or null to ignore |
... |
List of tuples of header name and header value, terminated by null. |
callback |
The callback when the result is ready |
user_data |
User data set for the |