executeRequest method
Future<StreamedResponse>
executeRequest(
- String method,
- String path, {
- Map<
String, String> ? headers, - Uint8List? body,
- Set<
int> ? validStatuses,
inherited
Makes a request against a given path
.
The query parameters of the baseURL
are added.
The path
is resolved against the path of the baseURL
.
All baseHeaders
are added to the request.
Implementation
Future<http.StreamedResponse> executeRequest(
String method,
String path, {
Map<String, String>? headers,
Uint8List? body,
Set<int>? validStatuses,
}) {
final uri = Uri.parse('$baseURL$path');
return executeRawRequest(
method,
uri,
headers: headers,
body: body,
validStatuses: validStatuses,
);
}