pub async fn read_proxy_header<I>(
stream: I,
) -> Result<(I, Option<SocketAddr>, Option<SocketAddr>), Error>Expand description
Reads the PROXY protocol header from the given AsyncRead.
pub async fn read_proxy_header<I>(
stream: I,
) -> Result<(I, Option<SocketAddr>, Option<SocketAddr>), Error>Reads the PROXY protocol header from the given AsyncRead.