Unwrap returns the original http.ResponseWriter. ResponseController can be used to access the original http.ResponseWriter. See [https://go.dev/blog/go1.20]
()
| 103 | // ResponseController can be used to access the original http.ResponseWriter. |
| 104 | // See [https://go.dev/blog/go1.20] |
| 105 | func (r *Response) Unwrap() http.ResponseWriter { |
| 106 | return r.ResponseWriter |
| 107 | } |
| 108 | |
| 109 | func (r *Response) reset(w http.ResponseWriter) { |
| 110 | r.beforeFuncs = nil |
no outgoing calls