requestURL method
Future<HttpResponse>
requestURL(
- HttpMethod method,
- String url, {
- Map<
String, String> ? headers, - Credential? authorization,
- Map<
String, Object?> ? queryParameters, - dynamic noQueryString = false,
- Object? body,
- String? contentType,
- String? accept,
- ProgressListener? progressListener,
Implementation
Future<HttpResponse> requestURL(HttpMethod method, String url,
{Map<String, String>? headers,
Credential? authorization,
Map<String, Object?>? queryParameters,
noQueryString = false,
Object? body,
String? contentType,
String? accept,
ProgressListener? progressListener}) async {
var requestAuthorization = await _buildRequestAuthorization(authorization);
return _clientRequester.request(this, method, url,
headers: headers,
authorization: requestAuthorization,
queryParameters: _toParametersMapOfString(queryParameters),
noQueryString: noQueryString,
body: body,
contentType: contentType,
accept: accept,
progressListener: progressListener);
}