Struct hyper_fs::StaticFile [] [src]

pub struct StaticFile<C> { /* fields omitted */ }

Static File

Methods

impl<C> StaticFile<C> where
    C: AsRef<Config> + Send + 'static, 
[src]

[src]

[src]

You should seek to 0 if you modify the File(Read or seek), You could not write or append it.

The FnMut will being calling before 200 when Get method(If Range or 304 status, it will not be calling).

You could set Content-Type, Charset, etc ...

[src]

You can set the init Haeders

Warning: not being covered by inner code.

[src]