load_failed_with_tls_errors


Description:

[ Version ( since = "2.6" ) ]
public virtual signal bool load_failed_with_tls_errors (string failing_uri, TlsCertificate certificate, TlsCertificateFlags errors)

Emitted when a TLS error occurs during a load operation.

To allow an exception for this certificate and the host of failing_uri use allow_tls_certificate_for_host.

To handle this signal asynchronously you should call @ref on certificate and return true.

If false is returned, load_failed will be emitted. The load will finish regardless of the returned value.

Parameters:

failing_uri

the URI that failed to load

certificate

a TlsCertificate

errors

a TlsCertificateFlags with the verification status of certificate

Returns:

true to stop other handlers from being invoked for the event. false to propagate the event further.




2022 vala-language.org