Add PUT and DELETE request + specific method value to HTTP API (#9909)
This commit is contained in:
@@ -32,10 +32,10 @@ class ModApiHttp : public ModApiBase {
|
||||
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_sync({url=, timeout=, post_data=})
|
||||
// http_fetch_sync({url=, timeout=, data=})
|
||||
static int l_http_fetch_sync(lua_State *L);
|
||||
|
||||
// http_fetch_async({url=, timeout=, post_data=})
|
||||
// http_fetch_async({url=, timeout=, data=})
|
||||
static int l_http_fetch_async(lua_State *L);
|
||||
|
||||
// http_fetch_async_get(handle)
|
||||
|
||||
Reference in New Issue
Block a user