Skip to main content

response_frame_length

Function response_frame_length 

Source
pub fn response_frame_length(
    frame: &[u8],
) -> Result<Option<usize>, BrowserProtocolError>
Expand description

Determine a frame’s complete length once its JSON header is available.

§Errors

Returns an error when an available header is malformed or exceeds a bound.