RouteSpecHttpRoute constructor
const
RouteSpecHttpRoute({
- required Input<
RouteSpecHttpRouteAction> action, - required Input<
RouteSpecHttpRouteMatch> match, - Input<
RouteSpecHttpRouteRetryPolicy?> ? retryPolicy, - Input<
RouteSpecHttpRouteTimeout?> ? timeout,
Creates a new RouteSpecHttpRoute.
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 RouteSpecHttpRoute({
required this.action,
required this.match,
this.retryPolicy,
this.timeout,
});