| 1 | // Aseprite Network Library |
|---|---|
| 2 | // Copyright (c) 2001-2015 David Capello |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifdef HAVE_CONFIG_H |
| 8 | #include "config.h" |
| 9 | #endif |
| 10 | |
| 11 | #include "net/http_response.h" |
| 12 | |
| 13 | #include <ostream> |
| 14 | |
| 15 | namespace net { |
| 16 | |
| 17 | void HttpResponse::write(const char* data, std::size_t length) |
| 18 | { |
| 19 | m_stream->write(data, length); |
| 20 | } |
| 21 | |
| 22 | } // namespace net |
| 23 |