Gio.SocketClient.prototype.set_tls_validation_flags
function set_tls_validation_flags(flags: Gio.TlsCertificateFlags): void {
// Gjs wrapper for g_socket_client_set_tls_validation_flags()
}
Sets the TLS validation flags used when creating TLS connections via client. The default value is Gio.TlsCertificateFlags.validate_all.
Since 2.28
- flags
the validation flags