2 writes to PrepareRequest
Aspire.Hosting.Tests (1)
WithHttpCommandTests.cs (1)
296PrepareRequest = requestContext =>
TestShop.AppHost (1)
Program.cs (1)
44PrepareRequest = requestContext =>
4 references to PrepareRequest
Aspire.Hosting (4)
ResourceBuilderExtensions.cs (4)
2016/// 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 2106/// 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 2186if (commandOptions.PrepareRequest is not null) 2197await commandOptions.PrepareRequest(requestContext).ConfigureAwait(false);