[][src]Function yukikaze::extractor::text_charset

pub async fn text_charset<S, I, E>(
    body: S,
    encoding: ContentEncoding,
    limit: Option<usize>,
    charset: &'static Encoding
) -> Result<String, BodyReadError> where
    S: HttpBody<Data = I, Error = E> + Unpin,
    I: Into<Bytes> + Buf,
    E: Into<BodyReadError>, 

Extracts body as text from Stream

Params: