Module util

Source
Expand description

Lower level utilities.

Structsยง

FileBytesStream
Wraps a tokio::fs::File, and implements a stream of Bytess.
FileBytesStreamMultiRange
Wraps a tokio::fs::File and implements a stream of Bytess providing multiple ranges of the file contents in HTTP chunked transfer encoding.
FileBytesStreamRange
Wraps a tokio::fs::File and implements a stream of Bytess reading a portion of the file.
FileResponseBuilder
Utility to build responses for serving a tokio::fs::File.