SetSecureCookies enables the Secure flag on all cookies.
(secure bool)
| 793 | |
| 794 | // SetSecureCookies enables the Secure flag on all cookies. |
| 795 | func (s *Server) SetSecureCookies(secure bool) { |
| 796 | s.secureCookies = secure |
| 797 | } |
| 798 | |
| 799 | // SetMetrics attaches Prometheus metrics to the server. |
| 800 | // Must be called before the first request is served. |