2015-06-12 11:17:26 -03:00
|
|
|
// Aseprite Network Library
|
|
|
|
// Copyright (c) 2001-2015 David Capello
|
2015-02-12 12:16:25 -03:00
|
|
|
//
|
2015-06-12 11:17:26 -03:00
|
|
|
// This file is released under the terms of the MIT license.
|
|
|
|
// Read LICENSE.txt for more information.
|
2011-06-12 10:50:30 -03:00
|
|
|
|
2013-08-05 21:20:19 -03:00
|
|
|
#ifdef HAVE_CONFIG_H
|
2011-06-12 10:50:30 -03:00
|
|
|
#include "config.h"
|
2013-08-05 21:20:19 -03:00
|
|
|
#endif
|
2011-06-12 10:50:30 -03:00
|
|
|
|
|
|
|
#include "net/http_response.h"
|
|
|
|
|
|
|
|
#include <ostream>
|
|
|
|
|
|
|
|
namespace net {
|
|
|
|
|
2015-03-04 21:35:11 -03:00
|
|
|
void HttpResponse::write(const char* data, std::size_t length)
|
2011-06-12 10:50:30 -03:00
|
|
|
{
|
|
|
|
m_stream->write(data, length);
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace net
|