StatusCode returns the current HTTP status code.
()
| 127 | |
| 128 | // StatusCode returns the current HTTP status code. |
| 129 | func (w *WriteResponse) StatusCode() int { |
| 130 | return w.statusCode |
| 131 | } |
| 132 | |
| 133 | // SetExtraHeader adds additional headers to be set in the response (apart from stats headers) |
| 134 | func (w *WriteResponse) SetExtraHeader(key, value string) { |
no outgoing calls