diff Core/HttpClient.h @ 1052:cc4ff680e2a0

http requests in lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Jul 2014 15:08:09 +0200
parents 203157cb4fde
children b17b6bd59747
line wrap: on
line diff
--- a/Core/HttpClient.h	Wed Jul 23 12:59:28 2014 +0200
+++ b/Core/HttpClient.h	Wed Jul 23 15:08:09 2014 +0200
@@ -89,6 +89,11 @@
       return method_;
     }
 
+    void SetPostData(const std::string& data)
+    {
+      postData_ = data;
+    }
+
     std::string& AccessPostData()
     {
       return postData_;