diff options
| author | ame <[email protected]> | 2025-07-14 16:45:41 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2025-07-14 16:45:41 -0500 |
| commit | 7184bbb7fdddbacb998d342e4a674574e7372600 (patch) | |
| tree | 50556035c08e60904d8d6bddf556ed459862cf26 | |
| parent | 76495ea9809c256ebc216e7aa2954c4e0592fd1d (diff) | |
update definitions
| -rw-r--r-- | library/lullaby/net.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/library/lullaby/net.lua b/library/lullaby/net.lua index 148d39f..9fb1dc2 100644 --- a/library/lullaby/net.lua +++ b/library/lullaby/net.lua @@ -126,14 +126,17 @@ function net.listen(callback, port) end ---@class request-return ---@field content stream +---@field code integer response code +---@field code-name string response message +---@field version string http version ---creates an https request ---@param url string ----@param value string | nil +---@param content string | nil ---@param header table<string, string> | nil ---@param request string | nil ---@return request-return | error -function net.srequest(url, value, header, request) end +function net.srequest(url, content, header, request) end ---@class wss-table local wss = {} |
