Function http_header::header::read
source ยท pub fn read(source: impl Read, buf: &mut [u8]) -> Result<Option<usize>, Error>Expand description
Reads from source into buf until a HTTP-header-end is matched or buf is filled completely
Returns either Some(header_len) if the header end has been matched or None if buf has been
filled completely without a match.