Function handle_connection_event

Source
fn handle_connection_event(
    registry: &Registry,
    connection: &mut TcpStream,
    event: &Event,
    data: &[u8],
    handshake_received: &mut bool,
    handshake_sent: &mut bool,
    message_sent: &mut bool,
    first_heartbeat_received: &mut bool,
) -> Result<HandleResult>