Lua API: Add function: ssl_init
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
1 parent
64d3036347
commit
f03acc8b5c
2 files changed
+14
No files matched your search
@@ -30,6 +30,8 @@ print("uhttpd version:", uh.VERSION)
|
||||
|
||||
local srv = uh.new(port)
|
||||
|
||||
-- srv:ssl_init("uhttpd.crt", "uhttpd.key")
|
||||
|
||||
print("Listen on:", port)
|
||||
|
||||
srv:add_action("/lua", function(cl, opt)
|
||||
|
||||
Reference in new issue
Block a user