pub fn stream() -> impl Filter + Copy
Expand description

Create a Filter that extracts the request body as a futures::Stream.

If other filters have already extracted the body, this filter will reject with a 500 Internal Server Error.

Warning

This does not have a default size limit, it would be wise to use one to prevent a overly large request from using too much memory.