8 writes to PrepareRequest
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
4188commandOptions.PrepareRequest = async context =>
Aspire.Hosting.Foundry (1)
HostedAgent\HostedAgentBuilderExtension.cs (1)
348PrepareRequest = ctx =>
Aspire.Hosting.Tests (4)
WithHttpCommandTests.cs (4)
134PrepareRequest = context => 536PrepareRequest = context => 660PrepareRequest = requestContext => 758PrepareRequest = requestContext =>
Stress.AppHost (1)
CommandResources.cs (1)
1050PrepareRequest = context =>
TestShop.AppHost (1)
AppHost.cs (1)
48PrepareRequest = requestContext =>
4 references to PrepareRequest
Aspire.Hosting (4)
ResourceBuilderExtensions.cs (4)
3926/// 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 4020/// 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 4096if (commandOptions.PrepareRequest is not null) 4108await commandOptions.PrepareRequest(requestContext).ConfigureAwait(false);