pub fn text(&mut self) -> impl Future<Output=Result<String, extractor::BodyReadError>> {
        let (encoding, buffer_size, body) = self.extract_body();

        #[cfg(feature = "encoding")]
        {
            let charset = self.charset_encoding().unwrap_or(encoding_rs::UTF_8);
            extractor::text_charset(body, encoding, buffer_size, charset)
        }

        #[cfg(not(feature = "encoding"))]
        {
            extractor::text(body, encoding, buffer_size)
        }
    }
///Extracts Response's body as text
Extracts Response's body as text
Extracts Response ' s body as text
pub fn text(&mut self) -> impl Future<Output=Result<String, extractor::BodyReadError>> {
        let (encoding, buffer_size, body) = self.extract_body();
        #[cfg(feature = "encoding")]
        {
            let charset = self.charset_encoding().unwrap_or(encoding_rs::UTF_8);
            extractor::text_charset(body, encoding, buffer_size, charset)
        }
        #[cfg(not(feature = "encoding"))]
        {
            extractor::text(body, encoding, buffer_size)
        }
    }
pub fn text ( & mut self ) -> impl Future < Output = Result < String , extractor :: BodyReadError > > { let ( encoding , buffer_size , body ) = self . extract_body ( ) ; # [ cfg ( feature " " ) ] { let charset = self . charset_encoding ( ) . unwrap_or ( encoding_rs :: UTF_8 ) ; extractor :: text_charset ( body , encoding , buffer_size , charset ) } # [ cfg ( not ( feature " " ) ) ] { extractor :: text ( body , encoding , buffer_size ) } }
Extracts Response's body as text
Extracts Response ' s body as text
&mut self