diff options
Diffstat (limited to 'http_connection.h')
-rw-r--r-- | http_connection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/http_connection.h b/http_connection.h index 446f0af..e3a3721 100644 --- a/http_connection.h +++ b/http_connection.h @@ -5,6 +5,7 @@ #include <vector> #include <list> #include <map> +#include <istream> #include <boost/asio.hpp> #include <boost/enable_shared_from_this.hpp> @@ -51,6 +52,7 @@ namespace HTTP { //! Send data. void send_data(const std::string& data); void send_data(const void* data, std::size_t size); + void send_data(std::istream& stream); private: typedef std::vector<std::pair<std::string, std::string> > HeaderList; |