mirror of
https://github.com/YGGverse/nexy.git
synced 2026-04-01 09:45:29 +00:00
reorganize template processor, implement new server options, optimize component init arguments
This commit is contained in:
parent
60f702b3d1
commit
b93f389304
9 changed files with 126 additions and 61 deletions
|
|
@ -7,5 +7,7 @@ pub enum Response<'a> {
|
|||
/// Includes reference to the original request
|
||||
NotFound(&'a str),
|
||||
/// Includes bytes array
|
||||
Success(&'a [u8]),
|
||||
File(&'a [u8]),
|
||||
/// Includes bytes array + public root directory status
|
||||
Directory(String, bool),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue