tls_query_connection_state
Returns a positive number if ob's connection is TLS secured, 0 if it’s unsecured, and a negative number if the TLS connection is still being set-up.
ob's
tls_init_connection(E), tls_deinit_connection(E), tls_error(E), tls_query_connection_info(E), tls_available(E), tls_check_certificate(E), tls_refresh_certs(E)
tls_init_connection
tls_deinit_connection
tls_error
tls_query_connection_info
tls_available
tls_check_certificate
tls_refresh_certs