onLoadHttpError method Null safety

void onLoadHttpError(
  1. Uri? url,
  2. int statusCode,
  3. String description

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:,%20android.webkit.WebResourceRequest,%20android.webkit.WebResourceResponse)

Official iOS API:


void onLoadHttpError(Uri? url, int statusCode, String description) {}