8 writes to PrepareRequest
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
3817commandOptions.PrepareRequest = async context =>
Aspire.Hosting.Foundry (1)
HostedAgent\HostedAgentBuilderExtension.cs (1)
346PrepareRequest = ctx =>
Aspire.Hosting.Tests (4)
WithHttpCommandTests.cs (4)
134PrepareRequest = context => 536PrepareRequest = context => 660PrepareRequest = requestContext => 758PrepareRequest = requestContext =>
Stress.AppHost (1)
CommandResources.cs (1)
973PrepareRequest = context =>
TestShop.AppHost (1)
AppHost.cs (1)
48PrepareRequest = requestContext =>
4 references to PrepareRequest
Aspire.Hosting (4)
ResourceBuilderExtensions.cs (4)
3555/// 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 3649/// 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 3725if (commandOptions.PrepareRequest is not null) 3737await commandOptions.PrepareRequest(requestContext).ConfigureAwait(false);