Skip to main content

body_string

Function body_string 

Source
pub async fn body_string(response: Response<Body>) -> String
Expand description

Collect a response body as a lossy UTF-8 string.