Software /
code /
prosody
Comparison
teal-src/net/http/files.d.tl @ 12609:a8eb838fc6cf
net.http: Add teal description files
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 24 Jul 2022 21:25:03 +0200 |
comparison
equal
deleted
inserted
replaced
12608:946a11f794e2 | 12609:a8eb838fc6cf |
---|---|
1 local record serve_options | |
2 path : string | |
3 mime_map : { string : string } | |
4 cache_size : integer | |
5 cache_max_file_size : integer | |
6 index_files : { string } | |
7 directory_index : boolean | |
8 end | |
9 | |
10 local record http_files | |
11 serve : function(serve_options|string) : function | |
12 end | |
13 | |
14 return http_files |