WriteHeader records the status and sends an HTTP response header with status code.
(s int)
| 113 | |
| 114 | // WriteHeader records the status and sends an HTTP response header with status code. |
| 115 | func (r *responseDupper) WriteHeader(s int) { |
| 116 | r.Status = s |
| 117 | r.ResponseWriter.WriteHeader(s) |
| 118 | } |
| 119 | |
| 120 | // Hijack supports the http.Hijacker interface. |
| 121 | func (r *responseDupper) Hijack() (net.Conn, *bufio.ReadWriter, error) { |
no outgoing calls
no test coverage detected