Function netcore::transport::proxy_protocol::read_header
source · pub async fn read_header<T: AsyncRead + Unpin>(
original_addr: &NetworkAddress,
stream: &mut T
) -> Result<NetworkAddress>
Expand description
Read a proxy protocol event and unwrap the address information associated.