Function ntex::web::test::load_stream [−][src]
pub async fn load_stream<S>(stream: S) -> Result<Bytes, Box<dyn Error>> where
S: Stream<Item = Result<Bytes, Box<dyn Error>>> + Unpin,
Reads response's body and combines it to a Bytes objects