Headers

interface Headers<T> : WebViewRequest<T>

If you want to get the headers from all requests made by the webview, use this.

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
abstract val interceptUrlRegex: <Error class: unknown class>

The regex to match the URL to intercept requests made by the webview for the headers.

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(requests: List<NetworkRequest>): T?

Called when the webview stops loading a URL with the stopUrlRegex