all

fun all(uri: String): Set<Cookie>

Returns all cookies that apply to uri in the desktop WebView cookie store.

uri must be an absolute http:// or https:// URI with a host. The returned cookies are structured desktop cookies, but callers should treat them as Cookie unless they explicitly need desktop-only mutation support.

Platform notes:

PlatformNative operationKey behavior
WindowsWebView2 GetCookies(uri)Returns cookies selected by WebView2 for the requested URI.
LinuxWebKitGTK webkit_cookie_manager_get_cookiesReturns cookies selected by WebKitGTK/libsoup for the requested URI.
macOSWKHTTPCookieStore.getAllCookiesReads all cookies, then JNI filters by domain, path, and secure.