diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/HttpClient.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/HttpClient.h b/include/HttpClient.h index 17c66b1..355b833 100644 --- a/include/HttpClient.h +++ b/include/HttpClient.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: HttpClient.h,v 1.3 2007-05-30 11:57:08 pixel Exp $ */ +/* $Id: HttpClient.h,v 1.4 2007-06-17 15:24:44 pixel Exp $ */ #ifndef __HTTPCLIENT_H__ #define __HTTPCLIENT_H__ @@ -30,6 +30,7 @@ #include <Handle.h> #include <Buffer.h> #include <Exceptions.h> +#include <Variables.h> typedef std::vector<String> t_headers; @@ -37,7 +38,7 @@ extern t_headers no_headers; class HttpClient : public Task { public: - HttpClient(const String & url, Handle * out, const String & fake_host = "", t_headers = no_headers); + HttpClient(const String & url, Handle * out, const String & fake_host = "", t_headers = no_headers, const Variables & = Variables()); virtual ~HttpClient(); String GetStatus(); @@ -54,6 +55,7 @@ class HttpClient : public Task { Handle * out; String fake_host; t_headers headers; + Variables vars; Socket Client; Buffer b, b2; |