GSoC: Documentation #2
[project/luci.git] / libs / lucid-http / luasrc / lucid / http.lua
index 32ba5791dea420c6a0d5cbe430083f45369eaaa3..931967c5639f3e1d1fc8d13e7486966ab2524c87 100644 (file)
@@ -17,6 +17,9 @@ local srv = require "luci.lucid.http.server"
 
 module "luci.lucid.http"
 
 
 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
 function factory(publisher)
        local server = srv.Server()
        for _, r in ipairs(publisher) do