summaryrefslogtreecommitdiffhomepage
path: root/default.lua
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-05-08 16:37:19 +0200
committerAki <please@ignore.pl>2020-05-08 16:52:15 +0200
commit7fc6a70725d54cf767a250a4c6b3f3fcc9eff85a (patch)
tree100aa07c526104bec61a44527c0ec19ec5df973f /default.lua
parent0b256dd68b7ed1e1e0875050204a3620c164d30f (diff)
downloadplop-7fc6a70725d54cf767a250a4c6b3f3fcc9eff85a.zip
plop-7fc6a70725d54cf767a250a4c6b3f3fcc9eff85a.tar.gz
plop-7fc6a70725d54cf767a250a4c6b3f3fcc9eff85a.tar.bz2
Response body is now handled by Lua
Diffstat (limited to 'default.lua')
-rw-r--r--default.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/default.lua b/default.lua
new file mode 100644
index 0000000..0f9aaf4
--- /dev/null
+++ b/default.lua
@@ -0,0 +1,6 @@
+--- Default client request handler.
+--- @param request string Unparsed request from the client
+--- @return string Body of the response
+function Handler (request)
+ return [["Hello, from plop/Lua"]]
+end