Secure

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

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