onBeforeRedirect
fun onBeforeRedirect(filter: WebRequestFilter, listener: (details: OnBeforeRedirectListenerDetails) -> Unit?)(source)
The listener
will be called with listener(details)
when a server initiated redirect is about to occur.