# HttpCommandPrepareRequestContext

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Provides context for HTTP command prepare-request callbacks in polyglot AppHosts.

## Definition

```go
type HttpCommandPrepareRequestContext interface{}
```

## Properties

- `Arguments`: [`InteractionInputCollection`](/reference/api/go/aspire.hosting/interactioninputcollection.md) `get` -- Gets the invocation arguments supplied by the client when the command is executed.
- `CancellationToken`: `*CancellationToken` `get` -- The cancellation token.
- `Endpoint`: [`EndpointReference`](/reference/api/go/aspire.hosting/endpointreference.md) `get` -- The endpoint the request is targeting.
- `ResourceName`: `string` `get` -- The name of the resource the command was configured on.
