Skip to main content

parse_response

Function parse_response 

Source
pub(super) async fn parse_response<B, C: JsonRpcCodec>(
    response: Response<B>,
    codec: &C,
) -> Result<Response>
where B: Body, B::Error: Display,
Expand description

Shared HTTP response parser (used by h1 and h2).