Class
WebKit2CookieManager
Description [src]
class WebKit2.CookieManager : GObject.Object {
parent: GObject,
priv: WebKitCookieManagerPrivate*
}
Defines how to handle cookies in a WebKitWebContext
.
The WebKitCookieManager defines how to set up and handle cookies.
You can get it from a WebKitWebsiteDataManager
with
webkit_website_data_manager_get_cookie_manager(), and use it to set where to
store cookies with webkit_cookie_manager_set_persistent_storage(),
or to set the acceptance policy, with webkit_cookie_manager_get_accept_policy().
Instance methods
webkit_cookie_manager_add_cookie
Asynchronously add a SoupCookie
to the underlying storage.
since: 2.20
webkit_cookie_manager_add_cookie_finish
Finish an asynchronous operation started with webkit_cookie_manager_add_cookie().
since: 2.20
webkit_cookie_manager_delete_cookie
Asynchronously delete a SoupCookie
from the current session.
since: 2.20
webkit_cookie_manager_delete_cookie_finish
Finish an asynchronous operation started with webkit_cookie_manager_delete_cookie().
since: 2.20
webkit_cookie_manager_delete_cookies_for_domain
Remove all cookies of cookie_manager
for the given domain
.
deprecated: 2.16
webkit_cookie_manager_get_accept_policy
Asynchronously get the cookie acceptance policy of cookie_manager
.
webkit_cookie_manager_get_accept_policy_finish
Finish an asynchronous operation started with webkit_cookie_manager_get_accept_policy().
webkit_cookie_manager_get_all_cookies
Asynchronously get a list of SoupCookie
from cookie_manager
.
since: 2.42
webkit_cookie_manager_get_all_cookies_finish
Finish an asynchronous operation started with webkit_cookie_manager_get_all_cookies().
since: 2.42
webkit_cookie_manager_get_cookies
Asynchronously get a list of SoupCookie
from cookie_manager
.
since: 2.20
webkit_cookie_manager_get_cookies_finish
Finish an asynchronous operation started with webkit_cookie_manager_get_cookies().
since: 2.20
webkit_cookie_manager_get_domains_with_cookies
Asynchronously get the list of domains for which cookie_manager
contains cookies.
deprecated: 2.16
webkit_cookie_manager_get_domains_with_cookies_finish
Finish an asynchronous operation started with webkit_cookie_manager_get_domains_with_cookies().
deprecated: 2.16
webkit_cookie_manager_replace_cookies
Asynchronously replace all cookies in cookie_manager
with the given list of cookies
.
since: 2.42
webkit_cookie_manager_replace_cookies_finish
Finish an asynchronous operation started with webkit_cookie_manager_replace_cookies().
since: 2.42
webkit_cookie_manager_set_accept_policy
Set the cookie acceptance policy of cookie_manager
as policy
.