COSFetchConfig constructor
COSFetchConfig({
- required String bucket,
- required String key,
- required String method,
- String? region,
- Map<
String, String> ? headers, - Map<
String, String> ? params, - List<
Future< ? reqHandlers,void> Function(COSFetchContext fetchContext)> - List<
Future Function(COSFetchContext fetchContext, dynamic data)> ? resHandlers, - int? signValidity,
- int retryTimes = 3,
Implementation
COSFetchConfig({
required this.bucket,
required this.key,
required this.method,
this.region,
this.headers,
this.params,
this.reqHandlers,
this.resHandlers,
this.signValidity,
this.retryTimes = 3,
});