Closed rrickyzz closed 9 months ago
would you mind giving me a sample implementation for headers in batch download sir?
final vo1 = ALDownloaderBatcherInputVO('url1');
vo1.headers = {'Cache-Control': 'no-cache'};
final vo2 = ALDownloaderBatcherInputVO('url2');
vo2.headers = {'Cache-Control': 'no-store'};
final vo3 = ALDownloaderBatcherInputVO('url3');
vo3.headers = {'Cache-Control': 'no-transform'};
final vos = [vo1, vo2, vo3];
ALDownloaderBatcher.downloadUrlsWithVOs(vos);
The package is very easy to use and convenient in most cases but I am wondering if it supports headers for batch download?