Function

Coghandle_web_view_load_failed_with_tls_errors

Declaration [src]

gboolean
cog_handle_web_view_load_failed_with_tls_errors (
  WebKitWebView* web_view,
  char* failing_uri,
  GTlsCertificate* certificate,
  GTlsCertificateFlags errors,
  void* user_data
)

Description [src]

Handles TLS page load errors, showing a simple error page if needed and logging a message to the standard error output.

This function is typically used in a callback that handles the WebKit.WebView::load-failed-with-tls-errors signal, and can be used directly as a callback for it:

WebKitWebView* web_view = webkit_web_view_new(...);
g_signal_connect(web_view, "load-failed-with-tls-errors",
                 G_CALLBACK(cog_handle_web_view_load_failed_with_tls_errors),
                 NULL);
This function is not directly available to language bindings

Parameters

web_view WebKitWebView*
 

A WebKit.WebView.

 The data is owned by the caller of the function.
failing_uri char*
 

URI that failed to load.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
certificate GTlsCertificate
  No description available.
 The data is owned by the caller of the function.
errors GTlsCertificateFlags
  No description available.
user_data void*
  No description available.
 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

Whether other signal handler should be skipped.