NetworkSession.allowTlsCertificateForHost

Ignore further TLS errors on the host for the certificate present in info.

If host is an IPv6 address, it should not be surrounded by brackets. This expectation matches glib.uri.Uri.getHost.

class NetworkSession
void
allowTlsCertificateForHost

Parameters

certificate gio.tls_certificate.TlsCertificate

a #GTlsCertificate

host string

the host for which a certificate is to be allowed