HttpCommandOptions.PrepareRequest Property

Definition

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)

Property Value

Applies to