pub trait HttpBody: Body<Data = Bytes, Error = Error> + Send {
// Provided method
fn poll_next_data(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Option<Result<Bytes>>> { ... }
}
Expand description
Represents the supported HTTP body trait from middleware integrations.