Module hyper_staticfile::util
source · Expand description
Lower level utilities.
Structs§
- Wraps a
tokio::fs::File
, and implements a stream ofBytes
s. - Wraps a
tokio::fs::File
and implements a stream ofBytes
s providing multiple ranges of the file contents in HTTP chunked transfer encoding. - Wraps a
tokio::fs::File
and implements a stream ofBytes
s reading a portion of the file. - Utility to build responses for serving a
tokio::fs::File
.