Secure returns whether a secure connection was established.
()
| 573 | |
| 574 | // Secure returns whether a secure connection was established. |
| 575 | func (c *DefaultCtx) Secure() bool { |
| 576 | return c.Scheme() == schemeHTTPS |
| 577 | } |
| 578 | |
| 579 | // Status sets the HTTP status for the response. |
| 580 | // This method is chainable. |