pub fn parse_request_header(
frame: &[u8],
) -> Result<(BrowserRequest, usize), BrowserProtocolError>Expand description
Parse a complete request without copying its binary content.
The returned offset identifies the first content byte in frame.
ยงErrors
Returns an error for malformed JSON, invalid lengths, or exceeded bounds.