get_cookies


Description:

[ Version ( since = "2.20" ) ]
public async List<Cookie> get_cookies (string uri, Cancellable? cancellable = null) throws Error

Asynchronously get a list of Cookie from this.

Asynchronously get a list of Cookie from this associated with uri, which must be either an HTTP or an HTTPS URL.

When the operation is finished, callback will be called. You can then call get_cookies.end to get the result of the operation.

Parameters:

this

a CookieManager

uri

the URI associated to the cookies to be retrieved

cancellable

a Cancellable or null to ignore

callback

a TaskReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function