Skip to main content

collect_request_body

Function collect_request_body 

Source
pub async fn collect_request_body<B>(
    body: B,
    config: &RequestBodyCollectionConfig,
) -> Result<Bytes, RequestBodyCollectionError<B::Error>>
where B: HttpBody + 'static,