wrpc_interface_http

Function try_http_to_response

source
pub fn try_http_to_response<E>(
    response: Response<impl Body<Data = Bytes, Error = E> + Send + 'static>,
) -> Result<(Response, impl Stream<Item = HttpBodyError<E>>)>
where E: Send + 'static,