RouteSpecHttpRouteActionWeightedTarget constructor
const
RouteSpecHttpRouteActionWeightedTarget({})
Creates a new RouteSpecHttpRouteActionWeightedTarget.
port Port number to match from the request.
virtualNode Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length.
weight Relative weight of the weighted target. An integer between 0 and 100.
Implementation
const RouteSpecHttpRouteActionWeightedTarget({
this.port,
required this.virtualNode,
required this.weight,
});