WriteHeader writes the status code for the Response
(s int)
| 74 | |
| 75 | // WriteHeader writes the status code for the Response |
| 76 | func (r *loggingResponse) WriteHeader(s int) { |
| 77 | r.ResponseWriter.WriteHeader(s) |
| 78 | r.status = s |
| 79 | } |
| 80 | |
| 81 | // Hijack implements the `http.Hijacker` interface that actual ResponseWriters |
| 82 | // implement to support websockets |
no outgoing calls