WebViewCookieHandler

class WebViewCookieHandler : CookieJar

Provides a synchronization point between the WebView cookie store and okhttp3.OkHttpClient cookie store.

Since

8.30

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun loadForRequest(url: HttpUrl): List<Cookie>

Load cookies from the jar for an HTTP request to url.

Link copied to clipboard
open override fun saveFromResponse(url: HttpUrl, cookies: List<Cookie>)

Saves cookies from an HTTP response to this store according to this jar's policy.