diff options
Diffstat (limited to 'src/net.h')
| -rw-r--r-- | src/net.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -16,6 +16,10 @@ int l_listen(lua_State*);
+int l_request(lua_State*);
+int l_srequest(lua_State*);
+
+
int64_t recv_full_buffer(int client_fd, char** _buffer, int* header_eof, int* state);
int parse_header(char* buffer, int header_eof, parray_t** _table);
@@ -37,6 +41,8 @@ static char* http_codes[600] = {0}; static const luaL_Reg net_function_list [] = {
{"listen",l_listen},
+ {"request",l_request},
+ {"srequest",l_srequest},
{NULL,NULL}
};
|
