aboutsummaryrefslogtreecommitdiff
path: root/src/network/connectionthreads.h
Commit message (Expand)AuthorAge
* Various network performance improvements (#8125)Jozef Behran2019-04-14
* Move files to subdirectories (#6599)Vitaliy2017-11-08
* Lint fixLoic Blot2017-09-27
* Add session_t typedef + remove unused functions (#6470)Loïc Blot2017-09-27
* Fix failing linter (travis)sfan52017-09-12
* Network part requires SharedBuffers to be pass as valueLoic Blot2017-09-03
* Pass SharedBuffer as value to increment reference countLoïc Blot2017-08-28
* Network cleanup (#6310)Loïc Blot2017-08-25
hl com">with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once #include "lua_api/l_base.h" #include "config.h" struct HTTPFetchRequest; struct HTTPFetchResult; class ModApiHttp : public ModApiBase { private: #if USE_CURL // Helpers for HTTP fetch functions static void read_http_fetch_request(lua_State *L, HTTPFetchRequest &req); static void push_http_fetch_result(lua_State *L, HTTPFetchResult &res, bool completed = true); // http_fetch_async({url=, timeout=, post_data=}) static int l_http_fetch_async(lua_State *L); // http_fetch_async_get(handle) static int l_http_fetch_async_get(lua_State *L); // request_http_api() static int l_request_http_api(lua_State *L); #endif public: static void Initialize(lua_State *L, int top); };