HttpCommandResultContext
Class sealed net10.0
Context passed to callback to configure
ExecuteCommandResult when using ResourceBuilderExtensions.WithHttpCommand or ResourceBuilderExtensions.WithHttpCommand. namespace Aspire.Hosting.ApplicationModel;
public sealed class HttpCommandResultContext{ // ...} 7 members
Constructors1
Section titled ConstructorsProperties6
Section titled PropertiesCancellationTokenget; initCancellationToken The cancellation token.
Endpointget; init The endpoint the request is targeting.
HttpClientget; initHttpClient The HTTP client that was used for the request.
ResourceNameget; initstring The name of the resource the command was configured on.
Responseget; initHttpResponseMessage The HTTP response message.
ServiceProviderget; initIServiceProvider The service provider.