Crate http_body

source ·
Expand description

Asynchronous HTTP request or response body.

See Body for more details.



  • Future that resolves to the next data chunk from Body
  • A body that is always empty.
  • A body that consists of a single chunk.
  • An error returned when body length exceeds the configured limit.
  • A length limited body.
  • A Body size hint
  • Future that resolves to the optional trailers from Body


  • Trait representing a streaming body of a Request or Response.