ForwardingCookieHandler

Cookie handler that forwards all cookies to the WebView CookieManager.

This class relies on CookieManager to persist cookies to disk so cookies may be lost if the application is terminated before it syncs.

Constructors

Link copied to clipboard
constructor(reactContext: ReactContext)
constructor()

Functions

Link copied to clipboard
fun addCookies(url: String, cookies: List<String>)
Link copied to clipboard
fun clearCookies(callback: Callback)
Link copied to clipboard
fun destroy()
Link copied to clipboard
open operator override fun get(uri: URI, headers: Map<String, List<String>>): Map<String, List<String>>
Link copied to clipboard
open override fun put(uri: URI, headers: Map<String, List<String>>)