(code int)
| 46 | } |
| 47 | |
| 48 | func (w *nodeHeaderWriter) WriteHeader(code int) { |
| 49 | w.maybeSet() |
| 50 | w.ResponseWriter.WriteHeader(code) |
| 51 | } |
| 52 | |
| 53 | // Flush keeps SSE handlers working: Echo's Response.Flush goes through |
| 54 | // http.NewResponseController which walks Unwrap() chains and invokes Flush |