cancelRedirect

open fun cancelRedirect()

Cancels the current redirect.

It is not possible to cancel a redirect if it is in @ref RedirectState::InProgress state.