API ReferenceGameroomLeaveGameRoom.leave() method Disconnects the client from the server Signature: leave(): void; Returns: void