WebView.addOnLoadFailedWithTlsErrors

Emitted when a TLS error occurs during a load operation. To allow an exception for this @certificate and the host of @failing_uri use webkit_web_context_allow_tls_certificate_for_host().

To handle this signal asynchronously you should call g_object_ref() on @certificate and return %TRUE.

If %FALSE is returned, #WebKitWebView::load-failed will be emitted. The load will finish regardless of the returned value.

class WebView
gulong
addOnLoadFailedWithTlsErrors
(
bool delegate
(
string
,
TlsCertificate
,
GTlsCertificateFlags
,)
dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Return Value

Type: gulong

%TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.

Meta

Since

2.6