how to know that which client has left the game

i am making a multi player cards game. in which there are 4 players. my problem is that how can server find that which player has left the game. so that on rejoining the server server could send that data to that particular client. please help me!!!

I’m not too experienced at networking in unity but there is a message called OnPlayerDisconnected with an NetworkPlayer parameter. API-Link

this worked for me

public override void OnServerDisconnect(NetworkConnection conn)
    {
        GameObject playerLeaving = conn.playerControllers[0].gameObject;
        base.OnServerDisconnect(conn);
    }