HTTPRoute constructor

const HTTPRoute({
  1. String? name,
  2. List<HTTPMatchRequest>? match,
  3. List<HTTPRouteDestination>? route,
  4. HTTPRedirect? redirect,
  5. Delegate? delegate,
  6. HTTPRewrite? rewrite,
  7. Duration? timeout,
  8. HTTPRetry? retries,
  9. HTTPFaultInjection? fault,
  10. Destination? mirror,
  11. Percent? mirrorPercentage,
  12. CorsPolicy? corsPolicy,
  13. Headers? headers,
  14. 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,
});