ad_secure_conn_p
Returns true if the connection [ns_conn] is secure (HTTPS), or false otherwise.
Source code:
return [regexp {^https:} [ns_conn location]]