Gio.TlsBackend.prototype.supports_tls
function supports_tls(): Boolean { // Gjs wrapper for g_tls_backend_supports_tls() }
Checks if TLS is supported; if this returns false for the default Gio.TlsBackend, it means no "real" TLS backend is available.
Since 2.28
- Returns
whether or not TLS is supported