Skip to content
Docs Try Aspire

HttpCommandResultContext Properties

Class Properties 6 members
CancellationToken Section titled CancellationToken CancellationToken
The cancellation token.
public CancellationToken CancellationToken { get; init; }
The endpoint the request is targeting.
public EndpointReference Endpoint { get; init; }
HttpClient Section titled HttpClient HttpClient
The HTTP client that was used for the request.
public HttpClient HttpClient { get; init; }
ResourceName Section titled ResourceName string
The name of the resource the command was configured on.
public string ResourceName { get; init; }
Response Section titled Response HttpResponseMessage
The HTTP response message.
public HttpResponseMessage Response { get; init; }
ServiceProvider Section titled ServiceProvider IServiceProvider
The service provider.
public IServiceProvider ServiceProvider { get; init; }