HSBotDefenderDelegate

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
abstract fun botDefenderChallengeSolved(appId: String)

Called when the challenge was solved.

Link copied to clipboard
abstract fun botDefenderDidUpdateHeaders(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 botDefenderRequestBlocked(url: String?, appId: String)

Called when a request was blocked.