Enum HTTPFileServerOption
Additional options for the static file server.
enum HTTPFileServerOption
: int { ... }
Enum members
Name | Description |
---|---|
defaults
|
default options are serveIndexHTML |
failIfNotFound
|
respond with 404 if a file was not found |
none
|
|
serveIndexHTML
|
serve index.html for directories |