Crate hyper_fs [−] [src]
hyper-fs
Static File Service for hyper 0.11+.
Usage
On Cargo.toml:
[dependencies]
hyper-fs = "0.1.0"
Documentation
- Visit Docs.rs
or
- Run
cargo doc --open
after modified the toml file.
Examples
To Du
name | status |
---|---|
Get/Head | yes |
Not Modified(304) | yes |
File Range(bytes) | yes |
Upload | no |
Macros
static_file |
create a |
static_fs |
create a |
static_index |
create a |
Structs
Config |
public config for file/index/fs |
ExceptionHandler |
Default |
StaticFile |
Static File |
StaticFs |
Static File System |
StaticIndex |
Static Index: Simple html list the name of every entry for a index |
Enums
Exception |
|
Traits
ExceptionHandlerService |
handle |
ExceptionHandlerServiceAsync |
Auto impl... |
Functions
content_type_maker |
use |
Type Definitions
FutureObject |
|