RouteShieldOrigin

class RouteShieldOrigin

Data structure that holds information about the original shield request that was made.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Regenerate whenever a change is made

Link copied to clipboard
open override fun hashCode(): Int

Regenerate whenever a change is made

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val isFallback: Boolean

is set to false if the original shield request was successful, false otherwise,

Link copied to clipboard
val originalErrorMessage: String

is empty if the original shield request was successful, otherwise contains error pointing to the reason behind the failure of original shield request.

Link copied to clipboard
val originalUrl: String?

is set to the original url used to make shield request. Can be null in case isFallback is true and the original request resulted in an error because of cancellation.