Skip to main content

read_headers

Function read_headers 

Source
pub(crate) async fn read_headers<S, SP>(
    runtime: &SP,
    stream: &mut S,
) -> RequestResult<HeaderStatus>
Expand description

Read and parse HTTP/1 headers from stream.

Wraps around read_headers_internal() with a timeout.