WKWebViewCookieManager

class WKWebViewCookieManager(val impl: ERROR CLASS: Symbol not found for WKHTTPCookieStore) : CookieManager<ERROR CLASS: Symbol not found for WKHTTPCookieStore>

iOS implementation of CookieManager backed by WKHTTPCookieStore.

The controller binds this wrapper to WKWebView.configuration.websiteDataStore.httpCookieStore, so it follows the configured WKWebsiteDataStore for that WebView. get converts uri to NSURL, reads all cookies from the store, filters them by domain and path, and returns common Cookie objects containing each matching cookie's name and value.

WKHTTPCookieStore.getAllCookies is asynchronous. This wrapper waits for the native callback so the common CookieManager.get contract can return a synchronous snapshot.

Constructors

Link copied to clipboard
constructor(impl: ERROR CLASS: Symbol not found for WKHTTPCookieStore)

Properties

Link copied to clipboard
open override val impl: ERROR CLASS: Symbol not found for WKHTTPCookieStore

The platform-specific cookie manager backing this wrapper.

Functions

Link copied to clipboard
open override fun get(uri: String): Set<Cookie>

Returns cookies that apply to uri in this WebView's native cookie store.