open fun onBeforeRedirect(listener: (details: OnBeforeRedirectDetails) -> Unit): Unit
open fun onBeforeRedirect(filter: OnBeforeRedirectFilter, listener: (details: OnBeforeRedirectDetails) -> Unit): Unit