WebView.loadAlternateHtml

void loadAlternateHtml(string content, string contentUri, string baseUri = null)

Load the given content string for the URI content_uri.

This allows clients to display page-loading errors in the #WebKitWebView itself. When this method is called from #WebKitWebView::load-failed signal to show an error page, then the back-forward list is maintained appropriately. For everything else this method works the same way as [webkit.web_view.WebView.loadHtml].

Parameters

contentthe new content to display as the main page of the web_view
contentUrithe URI for the alternate page content
baseUrithe base URI for relative locations or null