rememberWebViewState
fun <T : WebView> rememberWebViewState(url: String, additionalHttpHeaders: Map<String, String> = emptyMap()): WebViewState<T>
Creates a WebView state that is remembered across Compositions.
Parameters
url
The url to load in the WebView
additionalHttpHeaders
Optional, additional HTTP headers that are passed to WebView.loadUrl. Note that these headers are used for all subsequent requests of the WebView.