onRedirect

open fun onRedirect()

Set a callback that will be called when a redirect is made.