WPEWebKit.CookieManager
Description: Reference for WPEWebKit.CookieManager

### Class

# WPEWebKitCookieManager

since: 1.1

#### Description [src]

    class WPEWebKit.CookieManager : GObject.Object
    {
      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().

Available since: 1.1

#### Ancestors

- GObject

#### 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_get_accept_policy

Asynchronously get the cookie acceptance policy of `cookie_manager`.

since: 1.1

###### webkit_cookie_manager_get_accept_policy_finish

Finish an asynchronous operation started with webkit_cookie_manager_get_accept_policy().

since: 1.1

###### 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_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`.

since: 1.1

###### webkit_cookie_manager_set_persistent_storage

Set non-session cookies.

since: 1.1

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

###### WPEWebKit.CookieManager::changed

This signal is emitted when cookies are added, removed or modified.

since: 1.1

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

#### Class structure

    struct WPEWebKitCookieManagerClass {
      GObjectClass parent_class;
      void (* _webkit_reserved0) (
    void
      );
      void (* _webkit_reserved1) (
    void
      );
      void (* _webkit_reserved2) (
    void
      );
      void (* _webkit_reserved3) (
    void
      );

    }

No description available.

###### Class members

`parent_class: GObjectClass`
  No description available.
`_webkit_reserved0: void (* _webkit_reserved0) ( void )`
  No description available.
`_webkit_reserved1: void (* _webkit_reserved1) ( void )`
  No description available.
`_webkit_reserved2: void (* _webkit_reserved2) ( void )`
  No description available.
`_webkit_reserved3: void (* _webkit_reserved3) ( void )`
  No description available.