SetResponse sets `*http.ResponseWriter`. Some context methods and/or middleware require that given ResponseWriter implements following method `Unwrap() http.ResponseWriter` which eventually should return *echo.Response instance.
(r http.ResponseWriter)
| 181 | // SetResponse sets `*http.ResponseWriter`. Some context methods and/or middleware require that given ResponseWriter implements following |
| 182 | // method `Unwrap() http.ResponseWriter` which eventually should return *echo.Response instance. |
| 183 | func (c *Context) SetResponse(r http.ResponseWriter) { |
| 184 | c.response = r |
| 185 | } |
| 186 | |
| 187 | // IsTLS returns true if HTTP connection is TLS otherwise false. |
| 188 | func (c *Context) IsTLS() bool { |
no outgoing calls