Skip to main content

response_text

Function response_text 

Source
pub async fn response_text(
    response: Response<impl Body<Data = Bytes, Error = ErrorCode>>,
) -> Result<String, Error>
Expand description

Collect the remaining body in memory and decode it as strict UTF-8.