Implemented interface member:
method
CreatePortAsync
Aspire.Hosting.DevTunnels.IDevTunnelClient.CreatePortAsync(System.String, System.Int32, Aspire.Hosting.DevTunnels.DevTunnelPortOptions, Microsoft.Extensions.Logging.ILogger, System.Threading.CancellationToken)
18 references to CreatePortAsync
Aspire.Hosting.DevTunnels.Tests (18)
DevTunnelCliClientTests.cs (18)
52await client.CreatePortAsync("mytunnel.usw2", 3000, new() { Description = "", Protocol = "http", Labels = ["label"] }); 124await client.CreatePortAsync("mytunnel.usw2", 3000, new() { Protocol = "http", Labels = ["label"], AllowAnonymous = true }); 239CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, new() { Protocol = "http", Labels = ["label"], AllowAnonymous = true })); 271CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, new() { AllowAnonymous = false })); 298await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, new() { Protocol = "http", Labels = ["label"], AllowAnonymous = allowAnonymous }); 314CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, new() { AllowAnonymous = false })); 337var result = await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, new() 354await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, new() { Protocol = "http", Labels = ["label"] }); 368await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, new() 414var port = await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, 436var port = await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, 458var port = await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, 473await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, 488await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, 517Func<Task> provision = () => client.CreatePortAsync("mytunnel.usw2", 3000, 540var port = await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, 558var result = await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, new() 575var result = await CreateClient(cli).CreatePortAsync("mytunnel.usw2", 3000, new() { Protocol = "http" });