connectLoadFailedWithTlsErrors

fun connectLoadFailedWithTlsErrors(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (failingUri: String, <Error class: unknown class>, <Error class: unknown class>) -> Boolean): <Error class: unknown class>

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.

Since

2.6

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: failingUri the URI that failed to load; certificate a #GTlsCertificate; errors a #GTlsCertificateFlags with the verification status of @certificate. Returns true to stop other handlers from being invoked for the event. false to propagate the event further.