aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorame <[email protected]>2025-09-02 22:40:18 -0500
committerame <[email protected]>2025-09-02 22:40:18 -0500
commit6077a4fd2c280de03d8489a93080f24aa49d56a9 (patch)
treea15f7321b53dabb860c5c7db128e7b60de149cb6 /library
parent0d99d2767503428281b53bdef1d00788d4d99751 (diff)
docs
Diffstat (limited to 'library')
-rw-r--r--library/lullaby/net.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/library/lullaby/net.lua b/library/lullaby/net.lua
index 9fb1dc2..624f78f 100644
--- a/library/lullaby/net.lua
+++ b/library/lullaby/net.lua
@@ -138,6 +138,14 @@ function net.listen(callback, port) end
---@return request-return | error
function net.srequest(url, content, header, request) end
+---creates an http request
+---@param url string
+---@param content string | nil
+---@param header table<string, string> | nil
+---@param request string | nil
+---@return request-return | error
+function net.request(url, content, header, request) end
+
---@class wss-table
local wss = {}