PerimeterXDelegate

interface PerimeterXDelegate

PerimeterX interface

Functions

Link copied to clipboard
abstract fun perimeterxChallengeCancelledHandler(appId: String)

Called when the challenge was cancelled.

Link copied to clipboard
abstract fun perimeterxChallengeSolvedHandler(appId: String)

Called when the challenge was solved.

Link copied to clipboard
abstract fun perimeterxHeadersWereUpdated(headers: HashMap<String, String>, appId: String)

Called when the HTTP headers were changed. You may store and use those headers instead of calling the `headersForURLRequest(forAppId:)` function for every URL request.

Link copied to clipboard
abstract fun perimeterxRequestBlockedHandler(url: String?, appId: String)

Called when a request was blocked.