Mercurial Hosting > luan
view http/src/luan/modules/http/test.luan @ 504:dbdf4b8193a8
add Http.per_session()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 May 2015 01:09:35 -0600 |
parents | 2b9bc97f0439 |
children | 9218f9cf45d3 |
line wrap: on
line source
local Io = require "luan:Io" local Server = require "luan:http/Server" if #{...} ~= 2 then Io.stderr.write "usage: luan luan:http/serve dir-URI test-URI\n" return end local dir, test = ... Server.init(dir) require(test)