Flush implements the http.Flusher interface.
()
| 127 | |
| 128 | // Flush implements the http.Flusher interface. |
| 129 | func (w *responseWriter) Flush() { |
| 130 | w.WriteHeaderNow() |
| 131 | if f, ok := w.ResponseWriter.(http.Flusher); ok { |
| 132 | f.Flush() |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | func (w *responseWriter) Pusher() (pusher http.Pusher) { |
| 137 | if pusher, ok := w.ResponseWriter.(http.Pusher); ok { |