Skip to main content

parse_window_update

Function parse_window_update 

Source
pub fn parse_window_update(data: &[u8]) -> Result<u32, FrameError>
Expand description

Parses a WINDOW_UPDATE payload: reserved bit + 31-bit increment. (The stream id lives in the frame header, not the payload.)

ยงErrors

FrameError::InvalidPayloadLength when not exactly 4 bytes.