SocketClient.setTlsValidationFlags

Sets the TLS validation flags used when creating TLS connections via client. The default value is gio.types.TlsCertificateFlags.ValidateAll.

This function does not work as originally designed and is impossible to use correctly. See #GSocketClient:tls-validation-flags for more information.

More...
class SocketClient
void
setTlsValidationFlags

Parameters

flags gio.types.TlsCertificateFlags

the validation flags

Detailed Description

Deprecated: Do not attempt to ignore validation errors.