AjanuwHttpConfig constructor
AjanuwHttpConfig({
- dynamic url,
- String? method,
- dynamic body,
- Map<
String, dynamic> ? params, - Map<
String, String> ? headers, - Duration? timeout,
- Encoding? encoding,
- AjanuwHttpProgress? onUploadProgress,
- AjanuwHttpProgress? onDownloadProgress,
- List<
MultipartFile> ? files, - bool validateStatus(
- int status
- String paramsSerializer()?,
- String? baseURL,
- ResponseType? responseType,
- Completer? close,
- List<
AjanuwHttpInterceptors?> ? interceptors,
Implementation
AjanuwHttpConfig({
this.url,
this.method,
this.body,
this.params,
this.headers,
this.timeout,
this.encoding,
this.onUploadProgress,
this.onDownloadProgress,
this.files,
this.validateStatus,
this.paramsSerializer,
this.baseURL,
this.responseType,
this.close,
this.interceptors,
});