Skip to content
Docs Try Aspire
Docs Try

HttpRouteRuleV1 Properties

Class Properties 2 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; }