Lua interface for http.
More...
◆ lua_http_client()
| int lua_http_client |
( |
lua_State * |
lua_vm | ) |
|
Simple HTTP client for lua
- Parameters
-
- Returns
- number of variables on the stack with the response
◆ lua_http_download()
| int lua_http_download |
( |
lua_State * |
lua_vm | ) |
|
Downloads a file via http
- Parameters
-
- Returns
- number of variables on the stack with the response
◆ lua_http_serve_file()
| int lua_http_serve_file |
( |
lua_State * |
lua_vm | ) |
|
Function that creates a http reply to send a file
- Parameters
-
- Returns
- number of elements pushed to lua stack
◆ lua_http_serve_http_cache_file()
| int lua_http_serve_http_cache_file |
( |
lua_State * |
lua_vm | ) |
|
Function that creates a http reply from the http client cache
- Parameters
-
- Returns
- number of elements pushed to lua stack