doHttpRequest method
Future<HttpResponse>
doHttpRequest(
- HttpClient client,
- HttpRequest request,
- ProgressListener? progressListener,
- 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);
}