get method
Future<HttpResponse>
get(
- HttpClient httpClient,
- String? path, {
- bool fullPath = false,
- Credential? authorization,
- Map<
String, String?> ? parameters, - String? accept,
- OnCachedResponse? onStaleResponse,
- Duration? staleResponseDelay,
Does a GET request.
- See requestURL documentation.
Implementation
Future<HttpResponse> get(HttpClient httpClient, String? path,
{bool fullPath = false,
Credential? authorization,
Map<String, String?>? parameters,
String? accept,
OnCachedResponse? onStaleResponse,
Duration? staleResponseDelay}) async {
return request(httpClient, HttpMethod.GET, path,
fullPath: fullPath,
authorization: authorization,
queryParameters: parameters,
accept: accept,
onStaleResponse: onStaleResponse,
staleResponseDelay: staleResponseDelay);
}