HTTPRoute constructor
const
HTTPRoute({
- String? name,
- List<
HTTPMatchRequest> ? match, - List<
HTTPRouteDestination> ? route, - HTTPRedirect? redirect,
- Delegate? delegate,
- HTTPRewrite? rewrite,
- Duration? timeout,
- HTTPRetry? retries,
- HTTPFaultInjection? fault,
- Destination? mirror,
- Percent? mirrorPercentage,
- CorsPolicy? corsPolicy,
- Headers? headers,
- int? mirrorPercent,
The main constructor.
Implementation
const HTTPRoute({
this.name,
this.match,
this.route,
this.redirect,
this.delegate,
this.rewrite,
this.timeout,
this.retries,
this.fault,
this.mirror,
this.mirrorPercentage,
this.corsPolicy,
this.headers,
this.mirrorPercent,
});