Skip to main content

write_headers

Function write_headers 

Source
pub fn write_headers(
    out: &mut Vec<u8>,
    stream: u32,
    block: &[u8],
    end_stream: bool,
    max_frame: usize,
)
Expand description

Appends a HEADERS frame and as many CONTINUATION frames as block needs at max_frame.