Function read_headers

Source
pub(crate) async fn read_headers<S>(
    stream: &mut S,
) -> RequestResult<HeaderStatus>
where S: AsyncBufRead + Unpin,
Expand description

Read and parse HTTP/1 headers from stream.