pub fn parse_header_block(block: &[u8]) -> Result<FrameHeader, FrameError>Expand description
Parse the bytes of one header block (everything BEFORE the
\r\n\r\n terminator) into a FrameHeader.
block must contain CRLF-separated lines per LSP base
protocol. The codec strips the terminator before calling.