CookieManager.addCookie
void addCookie(soup.cookie.Cookie cookie, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously add a #SoupCookie to the underlying storage.
When the operation is finished, callback will be called. You can then call [webkit.cookie_manager.CookieManager.addCookieFinish] to get the result of the operation.
Parameters
cookie | the #SoupCookie to be added |
cancellable | a #GCancellable or null to ignore |
callback | a #GAsyncReadyCallback to call when the request is satisfied |