PerimeterXDelegate

PerimeterX interface

Functions

Link copied to clipboard

Called when the challenge was cancelled.

Link copied to clipboard

Called when the challenge rendered successfully.

Link copied to clipboard

Called when the challenge failed to render.

Link copied to clipboard

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.