Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose a
Form::into_stream()
method on async multipart forms.
The async equivalent of the change in #2524. An example use case is compressing multipart form data with zstd. The entire contents of the payload have to be compressed together, which requires accessing the contents of the Form. The existing stream functionality mostly implements what we need, but just isn't publicly accessible. This PR adds a pub method for it.
- Loading branch information