[][src]Function yukikaze::extractor::json_charset_notify

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

Extracts body as JSON from Stream

Params: