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