Crate hyper_fs [−] [src]
hyper-fs
Static File Service for hyper 0.11+.
Usage
On Cargo.toml:
[dependencies]
hyper-fs = "0.2.0"
Documentation
- Visit Docs.rs
or
- Run
cargo doc --open
after modified the toml file.
Examples
To Do
name | status |
---|---|
Get/Head | yes |
Not Modified(304) | yes |
File Range(bytes) | yes |
Structs
Config |
public config for file/index/fs |
StaticFile |
Static File |
StaticFs |
Static File System |
StaticIndex |
Static Index: Simple html list the name of every entry for a index |
Enums
Error |
|
Functions
content_type_maker |
use |
error_handler |
Default Error Handler function |
Type Definitions
FutureObject |
|
HyperFutureObject |
|