Cookie

interface Cookie<T> : WebViewRequest<T>

If you want to get the cookies stored in the webview, use this.

Cookies are cleared when the request is completed.

See also

Properties

Link copied to clipboard
open val dontCache: Boolean

If you want to disable caching of the webview data, set this to true.

Link copied to clipboard

The initial URL to be loaded in the webview.

Link copied to clipboard
open val maxTimeout: Long

The maximum time to wait for data to be returned from the webview. This is in milliseconds.

Link copied to clipboard
abstract val stopUrlRegex: <Error class: unknown class>

The regex to match the URL when the request is assumed to be complete. Checks on all requests made by the webview.

Functions

Link copied to clipboard
abstract suspend fun onStop(url: NetworkRequest, cookie: String): T?

Receive the cookies stored from the webview.