From db2611fcad18f73572dd1b344e4197536086be53 Mon Sep 17 00:00:00 2001 From: ame Date: Sun, 15 Feb 2026 04:08:16 -0600 Subject: ssl server support, websocket upgrades, and net changes --- library/lullaby/net.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'library/lullaby/net.lua') 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 = {} -- cgit v1.2.3