aboutsummaryrefslogtreecommitdiff
path: root/library/lullaby
diff options
context:
space:
mode:
authorame <[email protected]>2026-02-15 04:08:16 -0600
committerame <[email protected]>2026-02-15 04:08:16 -0600
commitdb2611fcad18f73572dd1b344e4197536086be53 (patch)
tree8d6df833110e57fa7d77753571acfda2ebb23f95 /library/lullaby
parent0a909a9dc5879e592d92c6eedeb59da8cf503392 (diff)
ssl server support, websocket upgrades, and net changes
Diffstat (limited to 'library/lullaby')
-rw-r--r--library/lullaby/net.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/library/lullaby/net.lua b/library/lullaby/net.lua
index 080c73d..826a9b2 100644
--- a/library/lullaby/net.lua
+++ b/library/lullaby/net.lua
@@ -35,6 +35,21 @@ function res_table.close(T) end
---@param T res-table
function res_table.stop(T) end
+---upgrades the connection, updates some functions
+---@param T res-table
+function res_table.upgrade(T) end
+
+---ssl info, enables ssl
+res_table.ssl = {}
+
+---file location of ssl key
+---@type string
+res_table.ssl.key = ""
+
+---file location of ssl cert
+---@type string
+res_table.ssl.cert = ""
+
---key value table containing header values to be sent
res_table.header = {}