summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid-http/luasrc/lucid/http.lua
diff options
context:
space:
mode:
Diffstat (limited to 'libs/lucid-http/luasrc/lucid/http.lua')
-rw-r--r--libs/lucid-http/luasrc/lucid/http.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/lucid-http/luasrc/lucid/http.lua b/libs/lucid-http/luasrc/lucid/http.lua
index 32ba5791de..931967c563 100644
--- a/libs/lucid-http/luasrc/lucid/http.lua
+++ b/libs/lucid-http/luasrc/lucid/http.lua
@@ -17,6 +17,9 @@ local srv = require "luci.lucid.http.server"
module "luci.lucid.http"
+--- Prepare the HTTP-daemon and its associated publishers.
+-- @param publisher Table of publishers
+-- @return factory callback or nil, error message
function factory(publisher)
local server = srv.Server()
for _, r in ipairs(publisher) do