Skip to main content

parse_stream_window_initial

Function parse_stream_window_initial 

Source
pub fn parse_stream_window_initial(headers: &[RpcHeader]) -> Option<u32>
Expand description

Parse the nrpc-stream-window-initial header from a request’s header list. Returns Some(window) if a valid u32 ASCII-decimal value is present, else None (no header / malformed value / non-utf8 — all treated as “no flow control”).