HttpCommandOptions.EndpointSelector 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 that selects the HTTP endpoint to send the request to when the command is invoked.
public Func<Aspire.Hosting.ApplicationModel.EndpointReference>? EndpointSelector { get; set; }
member this.EndpointSelector : Func<Aspire.Hosting.ApplicationModel.EndpointReference> with get, set
Public Property EndpointSelector As Func(Of EndpointReference)