RouteSpecHttp2RouteActionWeightedTarget constructor
const
RouteSpecHttp2RouteActionWeightedTarget({})
Creates a new RouteSpecHttp2RouteActionWeightedTarget.
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 RouteSpecHttp2RouteActionWeightedTarget({
this.port,
required this.virtualNode,
required this.weight,
});