Writes HTTP response content data.
(p []byte)
| 29 | |
| 30 | // Writes HTTP response content data. |
| 31 | func (c *compressedResponseWriter) Write(p []byte) (int, error) { |
| 32 | return c.writer.Write(p) |
| 33 | } |
| 34 | |
| 35 | // Closes the compressedResponseWriter and ensures to flush all data before. |
| 36 | func (c *compressedResponseWriter) Close() { |
no outgoing calls