Skip to main content

handle_connection

Function handle_connection 

Source
pub async fn handle_connection(
    stream: TcpStream,
    addr: SocketAddr,
    state: Arc<ProxyState>,
)
Expand description

Handle a single accepted TCP connection.