rememberTWSViewState

Creates a TWSView state that persists across recompositions, configured to display URL with optional additional headers.

Parameters

snippet

An instance of TWSSnippet containing the target URL and any additional HTTP headers for the WebView.