6 references to Auto
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
3909case HttpCommandResultMode.Auto:
Aspire.Hosting.Tests (4)
WithHttpCommandTests.cs (4)
23Assert.Equal(1, (int)HttpCommandResultMode.Auto); 91ResultMode = HttpCommandResultMode.Auto 890service.WithHttpCommand("/token", "Generate Token", commandName: "mycommand", commandOptions: new() { HttpClientName = "commandclient", ResultMode = HttpCommandResultMode.Auto }); 917service.WithHttpCommand("/text", "Get Text", commandName: "mycommand", commandOptions: new() { HttpClientName = "commandclient", ResultMode = HttpCommandResultMode.Auto });
Stress.AppHost (1)
CommandResources.cs (1)
907serviceBuilder.WithHttpCommand("/http-command-auto-result", "HTTP command auto result", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning", ResultMode = HttpCommandResultMode.Auto, Description = "Run an HTTP command and infer the result format from the response content type" });