HttpCommandOptions.PrepareRequest Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a callback to be invoked to configure the request before it is sent.
public Func<Aspire.Hosting.ApplicationModel.HttpCommandRequestContext,System.Threading.Tasks.Task>? PrepareRequest { get; set; }
member this.PrepareRequest : Func<Aspire.Hosting.ApplicationModel.HttpCommandRequestContext, System.Threading.Tasks.Task> with get, set
Public Property PrepareRequest As Func(Of HttpCommandRequestContext, Task)