public ServerApi(Lobby lobby, SocketEx socket) { _lobby = lobby; _clientSocket = socket; }
public async Task Run(int port) { _lobby = new Lobby(); await StartListening(port); }