diff Core/Lua/LuaContext.h @ 1273:88010d8e12cf

Support of HTTP proxy
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Jan 2015 16:08:58 +0100
parents 6f923d52a46c
children 6e7e5ed91c2d
line wrap: on
line diff
--- a/Core/Lua/LuaContext.h	Mon Jan 12 17:42:29 2015 +0100
+++ b/Core/Lua/LuaContext.h	Mon Jan 19 16:08:58 2015 +0100
@@ -102,5 +102,10 @@
     {
       httpClient_.SetCredentials(username, password);
     }
+
+    void SetHttpProxy(const std::string& proxy)
+    {
+      httpClient_.SetProxy(proxy);
+    }
   };
 }