pub(super) async fn parse_response<B, C: JsonRpcCodec>( response: Response<B>, codec: &C, ) -> Result<Response>where B: Body, B::Error: Display,
Shared HTTP response parser (used by h1 and h2).