pub async fn read_response_frame(
reader: &mut (impl AsyncRead + Unpin),
) -> Result<(FrameParams, ResponseOpcode, Bytes), FrameHeaderParseError>
Expand description
Reads a response frame from the provided reader (usually, a socket). Then parses and validates the frame header and extracts the body.