Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Loader ¶
Loader: creates and returns the http module for Lua. This function should be registered with L.PreloadModule("http", http.Loader)
@luamodule http
Example usage in Lua:
local http = require("http")
local response = http.get("https://api.example.com/data")
print(response.status)
print(response.body)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.