aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/net/http/files.d.tl
blob: d0ba5c1cfc113e9181984ee6d5dbf39a5507ec91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local record serve_options
	path : string
	mime_map : { string : string }
	cache_size : integer
	cache_max_file_size : integer
	index_files : { string }
	directory_index : boolean
end

local record http_files
	serve : function(serve_options|string) : function
end

return http_files