CookieManager.getCookies

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_get_cookies_finish() to get the result of the operation.

class CookieManager
void
getCookies
(
string uri
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

uri string

the URI associated to the cookies to be retrieved

cancellable Cancellable

a #GCancellable or %NULL to ignore

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback function

Meta

Since

2.20