async Task Request1(string name) { var channel = new Channel("localhost", 8080, ChannelCredentials.Insecure); var gamingHubClient = new GamingHubClient(); await gamingHubClient.ConnectAsync(channel, "roomname", name); await gamingHubClient.MoveAsync(Vector3.one, Quaternion.identity); await Task.Delay(1000); await gamingHubClient.SendMessage(); await Task.Delay(1000); await gamingHubClient.LeaveAsync(); await gamingHubClient.DisposeAsync(); await gamingHubClient.WaitForDisconnect(); await channel.ShutdownAsync(); }