RouteSpecHttp2Route constructor
const
RouteSpecHttp2Route({
- required Input<
RouteSpecHttp2RouteAction> action, - required Input<
RouteSpecHttp2RouteMatch> match, - Input<
RouteSpecHttp2RouteRetryPolicy?> ? retryPolicy, - Input<
RouteSpecHttp2RouteTimeout?> ? timeout,
Creates a new RouteSpecHttp2Route.
action Action to take if a match is determined. See spec.tcp_route.action Block for details.
match Criteria for determining a TCP request match. See spec.tcp_route.match Block for details.
retryPolicy Retry policy. See spec.http_route.retry_policy Block for details.
timeout Types of timeouts. See spec.tcp_route.timeout Block for details.
Implementation
const RouteSpecHttp2Route({
required this.action,
required this.match,
this.retryPolicy,
this.timeout,
});