Module pavex::response::body

source ·
Expand description

Tools for building and manipulating Response bodies.

Check out Response::set_typed_body for more details.

Modules§

Structs§

  • A Response body with Content-Type set to text/html; charset=utf-8.
  • A Response body with Content-Type set to application/json.

Traits§

  • A trait that ties together a Response body with its expected Content-Type header.