doHttpRequest method

  1. @override
Future<HttpResponse> doHttpRequest(
  1. HttpClient client,
  2. HttpRequest request,
  3. ProgressListener? progressListener,
  4. bool log,
)
override

Implementation for simulated requests.

Implementation

@override
Future<HttpResponse> doHttpRequest(HttpClient client, HttpRequest request,
    ProgressListener? progressListener, bool log) {
  var methodPatterns = getSimulationPatternsByMethod(request.method);
  return _requestSimulated(client, request.method, request.requestURL,
      methodPatterns, request.queryParameters);
}