Installation
luarocks install PudimServer --local
A Lua library to build simple, lightweight, and customizable HTTP servers, with support for CORS, pipeline handlers, cache, dynamic routes, query parsing, native HTTPS, cooperative concurrency, and hot reload without a file watcher.
luarocks install PudimServer --local
local PudimServer = require("PudimServer")
local server = PudimServer:Create{ Port = 8080 }
server:Routes("/", function(req, res)
return res:response(200, "Hello World!")
end)
server:Run()
/users/:id)req.querynext()luasecpackage.loaded invalidation)Set up and run your first server in 5 minutes.
API docs split by module with quick index.
Practical scenarios ready to run.