view website/src/examples/hi.luan @ 610:b4f3dbe1c6e3

add Rpc and change Hosting to use Rpc
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 11 Dec 2015 00:13:13 -0700
parents 7bc63886d4f2
children ca169567ce07
line wrap: on
line source

local Io = require "luan:Io"
local Http = require "luan:http/Http"


return function()
	Io.stdout = Http.response.text_writer()
	%>
	<html>
		<body>
			Hello World
		</body>
	</html>
	<%
end