-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
In tower-http we have an adapter that makes an AsyncRead into a Body https://github.com/tower-rs/tower-http/blob/serve-file/tower-http/src/serve_file.rs#L107. Is that something you'd be interested in upstreaming to http-body? Might be useful for others.
Adapters for Stream<Item = Bytes> and Stream<Item = Vec<u8>> might also be nice.
If you're interested I can submit a PR.
messense and CliffHan
Metadata
Metadata
Assignees
Labels
No labels