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)
52
await client.
CreatePortAsync
("mytunnel.usw2", 3000, new() { Description = "", Protocol = "http", Labels = ["label"] });
124
await client.
CreatePortAsync
("mytunnel.usw2", 3000, new() { Protocol = "http", Labels = ["label"], AllowAnonymous = true });
239
CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000, new() { Protocol = "http", Labels = ["label"], AllowAnonymous = true }));
271
CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000, new() { AllowAnonymous = false }));
298
await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000, new() { Protocol = "http", Labels = ["label"], AllowAnonymous = allowAnonymous });
314
CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000, new() { AllowAnonymous = false }));
337
var result = await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000, new()
354
await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000, new() { Protocol = "http", Labels = ["label"] });
368
await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000, new()
414
var port = await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000,
436
var port = await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000,
458
var port = await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000,
473
await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000,
488
await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000,
517
Func<Task> provision = () => client.
CreatePortAsync
("mytunnel.usw2", 3000,
540
var port = await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000,
558
var result = await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000, new()
575
var result = await CreateClient(cli).
CreatePortAsync
("mytunnel.usw2", 3000, new() { Protocol = "http" });