multipart method
Future<Http4Response>
multipart(
- String url, {
- required Http4Method method,
- Map<
String, String> fields = const {}, - Map<
String, String> headers = const {}, - List<
MultipartFile> files = const [], - List<
InterceptorContract> interceptors = const [], - RetryPolicy? retryPolicy,
override
Implementation
@override
Future<Http4Response> multipart(
final String url, {
required Http4Method method,
Map<String, String> fields = const {},
Map<String, String> headers = const {},
List<MultipartFile> files = const [],
List<InterceptorContract> interceptors = const [],
RetryPolicy? retryPolicy,
}) async =>
await Http4MultipartImplementation(
url: url,
method: method,
files: files,
fields: fields,
headers: headers,
interceptors: interceptors,
retryPolicy: retryPolicy,
).call();