HttpInterceptorBenchmark constructor

HttpInterceptorBenchmark({
  1. required String name,
  2. required String endpoint,
  3. Map<String, String>? headers,
  4. String? requestBody,
  5. String httpMethod = 'GET',
  6. int iterations = 20,
})

Implementation

HttpInterceptorBenchmark({
  required String name,
  required this.endpoint,
  this.headers,
  this.requestBody,
  this.httpMethod = 'GET',
  int iterations = 20,
}) : super(
  name: name,
  description: 'HTTP $httpMethod to $endpoint',
  iterations: iterations,
);