CookieManager.getCookies

Asynchronously get a list of #SoupCookie from cookie_manager.

Asynchronously get a list of #SoupCookie from cookie_manager 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 webkit.cookie_manager.CookieManager.getCookiesFinish to get the result of the operation.

class CookieManager
void
getCookies

Parameters

uri string

the URI associated to the cookies to be retrieved

cancellable gio.cancellable.Cancellable

a #GCancellable or null to ignore

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied