wrpc_interface_http

Function split_http_body

source
pub fn split_http_body<E>(
    body: impl Body<Data = Bytes, Error = E>,
) -> (impl Stream<Item = Result<Bytes, HttpBodyError<E>>>, impl Future<Output = Option<Fields>>)