Platforms to show: All Mac Windows Linux Cross-Platform

Back to WKHTTPCookieStoreMBS class.

WKHTTPCookieStoreMBS.AllCookies as NSHTTPCookieMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method WebKit2 MBS Mac64bit Plugin 20.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Fetches all stored cookies.
Example
Var CookieStore As WKHTTPCookieStoreMBS = WKWebViewControlMBS1.WKWebView.HTTPCookieStore
Var cookies() As NSHTTPCookieMBS = CookieStore.AllCookies
Var cookie As NSHTTPCookieMBS = cookies(0)

// now check in debugger
Break

WKHTTPCookieStoreMBS.Constructor(WKWebView as WKWebViewMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method WebKit2 MBS Mac64bit Plugin 20.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The constructor.

Creates an object for the http cookie store used by web view.
Adds an observer to the cookie store to call DidChange event.

WKHTTPCookieStoreMBS.deleteCookie(cookie as NSHTTPCookieMBS, wait as boolean = true)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method WebKit2 MBS Mac64bit Plugin 20.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Deletes the specified cookie.

By default waits for this to complete.
Otherwise this is set asynchronously.

WKHTTPCookieStoreMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method WebKit2 MBS Mac64bit Plugin 20.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The destructor.

WKHTTPCookieStoreMBS.setCookie(cookie as NSHTTPCookieMBS, wait as boolean = true)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method WebKit2 MBS Mac64bit Plugin 20.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets a cookie.

By default waits for this to complete.
Otherwise this is set asynchronously.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...