3 writes to Protocol
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
597portOptions.Protocol ??= targetEndpoint.Scheme switch
Aspire.Hosting.Maui (2)
Annotations\OtlpDevTunnelConfigurationAnnotation.cs (1)
76_tunnelPortOptions.Protocol = scheme;
MauiOtlpExtensions.cs (1)
214var tunnelPortOptions = new DevTunnelPortOptions { Protocol = initialOtlpScheme };
7 references to Protocol
Aspire.Hosting.DevTunnels (4)
DevTunnelCli.cs (1)
185.AddIfNotNull("--protocol", options.Protocol)
DevTunnelOptions.cs (1)
110internal string ToLoggerString() => $"{{ Description={Description}, AllowAnonymous={AllowAnonymous}, Protocol={Protocol}, Labels=[{string.Join(", ", Labels ?? [])}] }}";
DevTunnelResourceBuilderExtensions.cs (2)
593if (portOptions.Protocol is { } proto && proto is not "http" and not "https" and not "auto") 716new("Protocol", portOptions.Protocol),
Aspire.Hosting.DevTunnels.Tests (1)
TestDevTunnelClient.cs (1)
59return Task.FromResult(new DevTunnelPortStatus(tunnelId, portNumber, options.Protocol ?? "https", ClientConnections: 0));
Aspire.Hosting.Maui.Tests (2)
MauiPlatformExtensionsTests.cs (2)
841Assert.Equal("http", Assert.Single(appBuilder.Resources.OfType<DevTunnelPortResource>()).Options.Protocol); 1039Assert.Equal("http", Assert.Single(appBuilder.Resources.OfType<DevTunnelPortResource>()).Options.Protocol);