Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

HttpRouteRuleV1 Properties

ClassProperties2 members
A single routing rule in an HTTPRoute. Each rule matches requests and forwards them to one or more backend services.
Gets the backend references that matched requests are forwarded to.
public List<HttpRouteBackendRefV1> BackendRefs { get; }
Gets the match conditions for this rule. A request must satisfy all conditions in at least one match to be routed by this rule.
public List<HttpRouteMatchV1> Matches { get; }