pub async fn read_async<S: AsyncRead + Unpin>(
stream: &mut S,
) -> Result<Option<SocketAddr>>Available on crate feature
http2 only.Expand description
Read and parse the header at the start of stream (async builds).
Ok(None): a valid header without an address; keep the peer’s.