Mercurial > hg > orthanc
comparison Core/Lua/LuaContext.h @ 2258:cd70a86618b4
added Http headers support to HttpPost/Get/Put/Delete
author | amazy |
---|---|
date | Thu, 02 Feb 2017 21:09:06 +0100 |
parents | a3a65de1840f |
children | 4900688827a8 |
comparison
equal
deleted
inserted
replaced
2257:b8e07269da72 | 2258:cd70a86618b4 |
---|---|
81 const std::string& command); | 81 const std::string& command); |
82 | 82 |
83 void GetJson(Json::Value& result, | 83 void GetJson(Json::Value& result, |
84 int top, | 84 int top, |
85 bool keepStrings); | 85 bool keepStrings); |
86 | |
87 void SetHttpHeaders(lua_State* state, int top); | |
86 | 88 |
87 public: | 89 public: |
88 LuaContext(); | 90 LuaContext(); |
89 | 91 |
90 ~LuaContext(); | 92 ~LuaContext(); |