Interface ShowNetErrorPageCallback

All Superinterfaces:
Callback, NavigationCallback, NavigationSyncCallback<ShowNetErrorPageCallback.Params,ShowNetErrorPageCallback.Response>, SyncCallback<ShowNetErrorPageCallback.Params,ShowNetErrorPageCallback.Response>

This callback is invoked when the engine is about to display a network error web page because the required web resource cannot be loaded because of a network error.

Use ShowNetErrorPageCallback.Response.show(String) to show the custom network error page with the given HTML.

Use ShowNetErrorPageCallback.Response.showDefault() to display the default Chromium network error page.

Important: the engine will be blocked until you return control from the callback.

Since:
7.2