Skip to main content

HyperBody

Type Alias HyperBody 

Source
pub type HyperBody = UnsyncBoxBody<Bytes, Error>;
Expand description

The body a served answer carries, whether its bytes were in hand or are still to come.

A body still to come is whatever produces it, which one task reads in order, so what carries it need not be shared across threads.

Aliased Typeยง

pub struct HyperBody { /* private fields */ }