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