Skip to main content

read_body

Function read_body 

Source
pub async fn read_body(services: &Services, body: Body) -> Result<Bytes>
Expand description

Reads a request body up to the configured request size.

A longer body is refused as too large.