httpFancyWriter is a HTTP writer that additionally satisfies http.Flusher, http.Hijacker, and io.ReaderFrom. It exists for the common case of wrapping the http.ResponseWriter that package http gives you, in order to make the proxied object support the full method set of the proxied object.
| 188 | // of wrapping the http.ResponseWriter that package http gives you, in order to |
| 189 | // make the proxied object support the full method set of the proxied object. |
| 190 | type httpFancyWriter struct { |
| 191 | basicWriter |
| 192 | } |
| 193 | |
| 194 | func (f *httpFancyWriter) Flush() { |
| 195 | f.wroteHeader = true |
nothing calls this directly
no outgoing calls
no test coverage detected