3 writes to PrepareRequest
Aspire.Hosting.Foundry (1)
HostedAgent\HostedAgentBuilderExtension.cs (1)
158PrepareRequest = async ctx =>
Aspire.Hosting.Tests (1)
WithHttpCommandTests.cs (1)
331PrepareRequest = requestContext =>
TestShop.AppHost (1)
AppHost.cs (1)
44PrepareRequest = requestContext =>
4 references to PrepareRequest
Aspire.Hosting (4)
ResourceBuilderExtensions.cs (4)
2310/// The <see cref="HttpCommandOptions.PrepareRequest"/> callback will be invoked to configure the request before it is sent. This can be used to add headers or a request payload 2402/// The <see cref="HttpCommandOptions.PrepareRequest"/> callback will be invoked to configure the request before it is sent. This can be used to add headers or a request payload 2471if (commandOptions.PrepareRequest is not null) 2482await commandOptions.PrepareRequest(requestContext).ConfigureAwait(false);