aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2025-10-15 16:50:46 -0500
committeramelia squires <[email protected]>2025-10-15 16:50:46 -0500
commitb94f6d148193f91cab50d16e2873095827b89b1b (patch)
treef550bd912cdd4c5469cec1ac320cb9c874df3476 /library
parent8c2893be56c10af0a696282386b49fdb3c1e4a81 (diff)
better errors and docs
Diffstat (limited to 'library')
-rw-r--r--library/lullaby/net.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/lullaby/net.lua b/library/lullaby/net.lua
index 799e7d2..080c73d 100644
--- a/library/lullaby/net.lua
+++ b/library/lullaby/net.lua
@@ -19,6 +19,7 @@ function res_table.send(T, value) end
---autosets Content-Type and sends contents of file to client and closes socket
---@param T res-table
---@param value string
+---@return error | nil error
function res_table.sendfile(T, value) end
---sends value to client and doesn't close the socket