From ea754365e607c7c36d00909ea7605daeaa64243c Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 2 Jan 2011 23:10:13 +0100 Subject: Added send_data(istream). --- http_connection.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'http_connection.h') 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 #include #include +#include #include #include @@ -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 > HeaderList; -- cgit v1.2.3