/// <summary> /// Start the game host and listen on the specified urls. /// </summary> /// <param name="hostBuilder">The <see cref="IGameHostBuilder"/> to start.</param> /// <param name="urls">The urls the hosted application will listen on.</param> /// <returns>The <see cref="IGameHostBuilder"/>.</returns> public static IGameHost Start(this IGameHostBuilder hostBuilder, params string[] urls) { var host = hostBuilder.UseUrls(urls).Build(); host.StartAsync(CancellationToken.None).GetAwaiter().GetResult(); return(host); }