onLoadHttpError method
Event fired when the InAppBrowser
main page receives an HTTP error.
url
represents the url of the main page that received the HTTP error.
statusCode
represents the status code of the response. HTTP errors have status codes >= 400.
description
represents the description of the HTTP error. On iOS, it is always an empty string.
NOTE: available on Android 23+.
Official Android API: https://developer.android.com/reference/android/webkit/WebViewClient#onReceivedHttpError(android.webkit.WebView,%20android.webkit.WebResourceRequest,%20android.webkit.WebResourceResponse)
Official iOS API: https://developer.apple.com/documentation/webkit/wknavigationdelegate/1455643-webview
Implementation
void onLoadHttpError(Uri? url, int statusCode, String description) {}