Module body

Source
Expand description

Contains types to describe request bodies

Structs§

Bytes
A request body containing binary data
Empty
An empty request body
File
A request body backed by a local file
Json
A request body for streaming out JSON
Text
A request body containing UTF-8-encoded text

Enums§

BodyKind
The kinds of request bodies currently supported by this crate.

Traits§

Body
A generic rewindable request body