diff options
Diffstat (limited to 'library')
| -rw-r--r-- | library/lullaby/net.lua | 15 |
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 = {} |
