Gio.SocketClient.prototype.get_tls

function get_tls(): Boolean {
    // Gjs wrapper for g_socket_client_get_tls()
}
  

Gets whether client creates TLS connections. See Gio.SocketClient.prototype.set_tls for details.

Since 2.28

Returns

whether client uses TLS