onRedirect

open fun onRedirect()(source)

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