addCookie

fun addCookie(cookie: <Error class: unknown class>, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)

Asynchronously add a #SoupCookie to the underlying storage.

When the operation is finished, @callback will be called. You can then call webkit_cookie_manager_add_cookie_finish() to get the result of the operation.

Since

2.20

Parameters

cookie

the #SoupCookie to be added

cancellable

a #GCancellable or null to ignore

callback

a #GAsyncReadyCallback to call when the request is satisfied