http2FancyWriter is a HTTP2 writer that additionally satisfies http.Flusher, 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.
| 231 | // of wrapping the http.ResponseWriter that package http gives you, in order to |
| 232 | // make the proxied object support the full method set of the proxied object. |
| 233 | type http2FancyWriter struct { |
| 234 | basicWriter |
| 235 | } |
| 236 | |
| 237 | func (f *http2FancyWriter) Flush() { |
| 238 | f.wroteHeader = true |
nothing calls this directly
no outgoing calls
no test coverage detected