projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GSoC: Documentation #2
[project/luci.git]
/
libs
/
lucid-http
/
luasrc
/
lucid
/
http.lua
diff --git
a/libs/lucid-http/luasrc/lucid/http.lua
b/libs/lucid-http/luasrc/lucid/http.lua
index 32ba5791dea420c6a0d5cbe430083f45369eaaa3..931967c5639f3e1d1fc8d13e7486966ab2524c87 100644
(file)
--- 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"
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