requestHttpClient method
Future<HttpResponse>
requestHttpClient(
- HttpClient client,
- HttpMethod method,
- String path,
- bool fullPath,
- Map? parameters,
- Object? body,
Method responsible to request the HttpClient.
Can be overwritten by other implementations.
Implementation
Future<HttpResponse> requestHttpClient(HttpClient client, HttpMethod method,
String path, bool fullPath, Map? parameters, Object? body) {
var queryParameters = toQueryParameters(parameters);
return client.request(method, path,
fullPath: fullPath, parameters: queryParameters, body: body);
}