Secure

A boolean property that is true , if a TLS connection is established.

  1. c.Secure() bool
  1. // Secure() method is equivalent to:
  2. c.Protocol() == "https"