Skip to content
Docs Try Aspire
Docs Try

HttpCommandResultMode

Enum net8.0
📦 Aspire.Hosting v13.3.0
Specifies how an HTTP command should surface the HTTP response body as command result data.
namespace Aspire.Hosting.ApplicationModel;
public enum HttpCommandResultMode
None = 0
Do not capture the HTTP response body as command result data.
Auto = 1
Infer the command result format from the HTTP response content type.
Json = 2
Return the HTTP response body as JSON command result data.
Text = 3
Return the HTTP response body as plain text command result data.