AjanuwHttpConfig constructor

AjanuwHttpConfig({
  1. dynamic url,
  2. String? method,
  3. dynamic body,
  4. Map<String, dynamic>? params,
  5. Map<String, String>? headers,
  6. Duration? timeout,
  7. Encoding? encoding,
  8. AjanuwHttpProgress? onUploadProgress,
  9. AjanuwHttpProgress? onDownloadProgress,
  10. List<MultipartFile>? files,
  11. bool validateStatus(
    1. int status
    )?,
  12. String paramsSerializer(
    1. Map<String, dynamic> params
    )?,
  13. String? baseURL,
  14. ResponseType? responseType,
  15. Completer? close,
  16. 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,
});