onReceivedHttpError method

  1. @override
void onReceivedHttpError(
  1. WebResourceRequest request,
  2. WebResourceResponse errorResponse
)
inherited

Event fired when the WebView receives an HTTP error.

request represents the originating request.

errorResponse represents the information about the error occurred.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • request: all platforms
  • errorResponse: all platforms

Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@override
void onReceivedHttpError(
  WebResourceRequest request,
  WebResourceResponse errorResponse,
) {}